Browse Source

pcb calculator: Cleanup remanents of the tool framework on close

9.0
Ian McInerney 8 months ago
parent
commit
e240d57e28
  1. 4
      pcb_calculator/pcb_calculator_frame.cpp

4
pcb_calculator/pcb_calculator_frame.cpp

@ -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…
Cancel
Save