mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02: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
|
// This needed for OSX: avoids further OnDraw processing after this destructor and before
|
||||||
// the native window is destroyed
|
// the native window is destroyed
|
||||||
this->Freeze();
|
this->Freeze();
|
||||||
|
|
||||||
|
// Clean up the tool framework
|
||||||
|
delete m_toolManager;
|
||||||
|
delete m_toolDispatcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user