diff options
author | Nick Foster <nick@ettus.com> | 2012-04-16 14:04:10 -0700 |
---|---|---|
committer | Nick Foster <nick@ettus.com> | 2012-04-16 14:04:10 -0700 |
commit | 94f21dbe65891a90f40e64f943ffe74129ff841b (patch) | |
tree | 209dd2b0898113ebbee76fc3ebebe63046149099 /grc | |
parent | 62096dbdda9dd3e8029cde0a6d5abd3ead5c9c4d (diff) |
qtgui: GRC template sets tb = None on exit for widget cleanup; waterfall plot no longer deletes Widget objects (causes double free).
Diffstat (limited to 'grc')
-rw-r--r-- | grc/python/flow_graph.tmpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/grc/python/flow_graph.tmpl b/grc/python/flow_graph.tmpl index cad2d43b72..7e0de7e707 100644 --- a/grc/python/flow_graph.tmpl +++ b/grc/python/flow_graph.tmpl @@ -267,6 +267,7 @@ if __name__ == '__main__': tb.show() qapp.exec_() tb.stop() + tb = None #to clean up Qt widgets #elif $generate_options == 'no_gui' tb = $(class_name)($(', '.join($params_eq_list))) #set $run_options = $flow_graph.get_option('run_options') |