Pcbnew, Eeschema: release lock file when these editors are closed (Until now, the lock file was released when the full Kicad application was closed, not when the editor was closed).

Should fix Bug #1360470  and Bug #1359502 .
This commit is contained in:
jean-pierre charras
2014-08-26 12:54:22 +02:00
parent b30e0dd869
commit d8c3ccb424
5 changed files with 18 additions and 1 deletions
+7
View File
@@ -308,6 +308,13 @@ void PGM_BASE::destroy()
m_html_ctrl = 0;
}
void PGM_BASE::ReleaseFile()
{
// Release the current file marked in use.
delete m_file_checker;
m_file_checker = 0;
}
void PGM_BASE::SetEditorName( const wxString& aFileName )
{