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:
parent
09f54c6b94
commit
e240d57e28
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user