7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-04 23:05:30 +00:00

pcb calculator: Cleanup remanents of the tool framework on close

This commit is contained in:
Ian McInerney 2025-02-10 14:46:40 +00:00
parent 09f54c6b94
commit e240d57e28

View File

@ -146,6 +146,10 @@ PCB_CALCULATOR_FRAME::~PCB_CALCULATOR_FRAME()
// This needed for OSX: avoids further OnDraw processing after this destructor and before
// the native window is destroyed
this->Freeze();
// Clean up the tool framework
delete m_toolManager;
delete m_toolDispatcher;
}