diff options
author | Tom Rondeau <trondeau@vt.edu> | 2013-02-28 14:38:40 -0500 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2013-02-28 14:38:40 -0500 |
commit | 9f29e51f2945f355b43f3012da43e37dcd95f6b4 (patch) | |
tree | bcc71c8975379c107bb6e94da944292a5ee9a03a /gr-qtgui/lib/time_sink_f_impl.cc | |
parent | 7afefc484137bf0bed7ab9a7ed86017c117d6a35 (diff) | |
parent | 2f55d7dfc33e8d990e44c5bbb7c6d2fbdaddd563 (diff) |
Merge branch 'next' into perf_monitor
Diffstat (limited to 'gr-qtgui/lib/time_sink_f_impl.cc')
-rw-r--r-- | gr-qtgui/lib/time_sink_f_impl.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gr-qtgui/lib/time_sink_f_impl.cc b/gr-qtgui/lib/time_sink_f_impl.cc index 5bb89c7d59..39a62d3d6b 100644 --- a/gr-qtgui/lib/time_sink_f_impl.cc +++ b/gr-qtgui/lib/time_sink_f_impl.cc @@ -73,6 +73,9 @@ namespace gr { time_sink_f_impl::~time_sink_f_impl() { + if(!d_main_gui->isClosed()) + d_main_gui->close(); + // d_main_gui is a qwidget destroyed with its parent for(int i = 0; i < d_nconnections; i++) { fft::free(d_residbufs[i]); |