mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 14:31:42 +00:00
GenIPC2581File(): close a temporary file before trying to delete it.
This commit is contained in:
parent
a1f0adcc11
commit
ea1498b39b
@ -1395,6 +1395,7 @@ void PCB_EDIT_FRAME::GenIPC2581File( wxCommandEvent& event )
|
||||
fnin.Read( zip );
|
||||
zip.Close();
|
||||
fnout.Close();
|
||||
fnin.GetFile()->Close();
|
||||
|
||||
wxRemoveFile( tempFile );
|
||||
tempFile = zipfn.GetFullPath();
|
||||
|
Loading…
Reference in New Issue
Block a user