7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-18 21:29:17 +00:00

Fix crash when unloading board

This commit is contained in:
Jon Evans 2022-08-14 22:49:51 -04:00
parent c418b25756
commit 55bb374370

View File

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