mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 10:13:19 +02: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 );
|
fnin.Read( zip );
|
||||||
zip.Close();
|
zip.Close();
|
||||||
fnout.Close();
|
fnout.Close();
|
||||||
|
fnin.GetFile()->Close();
|
||||||
|
|
||||||
wxRemoveFile( tempFile );
|
wxRemoveFile( tempFile );
|
||||||
tempFile = zipfn.GetFullPath();
|
tempFile = zipfn.GetFullPath();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user