Prevent crash on exit due to simulator settings being double freed
This commit is contained in:
parent
eb05d803df
commit
5251ea6f27
|
@ -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…
Reference in New Issue