Browse Source

Prevent crash on exit due to simulator settings being double freed

7.0
Jon Evans 3 years ago
parent
commit
5251ea6f27
  1. 2
      eeschema/sim/sim_plot_frame.cpp

2
eeschema/sim/sim_plot_frame.cpp

@ -239,6 +239,8 @@ SIM_PLOT_FRAME::~SIM_PLOT_FRAME()
{
NULL_REPORTER devnull;
m_simulator->Settings() = nullptr;
m_simulator->Attach( nullptr, devnull );
m_simulator->SetReporter( nullptr );
delete m_reporter;

Loading…
Cancel
Save