summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib
diff options
context:
space:
mode:
authorClayton Smith <argilo@gmail.com>2020-02-07 09:24:14 -0500
committerMarcus Müller <marcus@hostalia.de>2020-02-08 15:05:45 +0100
commit8be48325fbe18b90ccb6447e6fdb7546b98d2966 (patch)
treee69866506add1673a3760fe1fb41364f869ac6e5 /gnuradio-runtime/lib
parentc3333eb0d7238c82442d1d901df03d5199557213 (diff)
runtime: release the flattened flowgraph after stopping
Diffstat (limited to 'gnuradio-runtime/lib')
-rw-r--r--gnuradio-runtime/lib/top_block_impl.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnuradio-runtime/lib/top_block_impl.cc b/gnuradio-runtime/lib/top_block_impl.cc
index 28f924b917..bfc2bf310f 100644
--- a/gnuradio-runtime/lib/top_block_impl.cc
+++ b/gnuradio-runtime/lib/top_block_impl.cc
@@ -122,6 +122,8 @@ void top_block_impl::stop()
if (d_scheduler)
d_scheduler->stop();
+ d_ffg.reset();
+
d_state = IDLE;
}