diff options
Diffstat (limited to 'gr-utils/src/python/usrp_rx_cfile.py')
-rwxr-xr-x | gr-utils/src/python/usrp_rx_cfile.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gr-utils/src/python/usrp_rx_cfile.py b/gr-utils/src/python/usrp_rx_cfile.py index 23a7a94d8..3ac9fb56f 100755 --- a/gr-utils/src/python/usrp_rx_cfile.py +++ b/gr-utils/src/python/usrp_rx_cfile.py @@ -100,10 +100,7 @@ class my_top_block(gr.top_block): sys.stderr.write('Failed to set frequency\n') raise SystemExit, 1 - def __del__(self): - # Avoid weak reference error - del self.subdev - + if __name__ == '__main__': try: my_top_block().run() |