Clear m_out pointer at end of save

This commit is contained in:
Marek Roszko 2021-05-30 21:29:26 -04:00
parent 46d746c9da
commit 65fee5b2ec
1 changed files with 2 additions and 0 deletions

View File

@ -361,6 +361,8 @@ void PCB_IO::Save( const wxString& aFileName, BOARD* aBoard, const PROPERTIES* a
Format( aBoard, 1 );
m_out->Print( 0, ")\n" );
m_out = nullptr;
}