From 42f6cf33a13ee0f96f17e3fa11d2fff54da7ac5c Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Fri, 19 Aug 2016 16:39:46 +0200 Subject: [PATCH] Unbind REPORTER from NGSPICE before deleting --- eeschema/sim/sim_plot_frame.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/eeschema/sim/sim_plot_frame.cpp b/eeschema/sim/sim_plot_frame.cpp index fe3136b067..8ea6856926 100644 --- a/eeschema/sim/sim_plot_frame.cpp +++ b/eeschema/sim/sim_plot_frame.cpp @@ -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; }