Fix crash when unloading board

This commit is contained in:
Jon Evans 2022-08-14 22:49:51 -04:00
parent c418b25756
commit 55bb374370
1 changed files with 1 additions and 0 deletions

View File

@ -207,6 +207,7 @@ void BOARD::ClearProject()
project.m_BoardSettings = nullptr;
}
GetDesignSettings().m_NetSettings = nullptr;
GetDesignSettings().SetParent( nullptr );
m_project = nullptr;
}