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:
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user