Unbind REPORTER from NGSPICE before deleting

This commit is contained in:
Maciej Suminski 2016-08-19 16:39:46 +02:00
parent fe30985742
commit 42f6cf33a1
1 changed files with 1 additions and 0 deletions

View File

@ -163,6 +163,7 @@ SIM_PLOT_FRAME::SIM_PLOT_FRAME( KIWAY* aKiway, wxWindow* aParent )
SIM_PLOT_FRAME::~SIM_PLOT_FRAME()
{
m_simulator->SetReporter( nullptr );
delete m_reporter;
}