Better exception handling in sql.py

This commit is contained in:
Nick Foster
2013-05-30 01:06:53 -07:00
parent 4216b96262
commit 33874893b7
3 changed files with 13 additions and 20 deletions

View File

@@ -198,3 +198,7 @@ class modes_radio (gr.top_block):
print "Rate is %i" % (options.rate,)
def cleanup(self):
self._pubsub.done.set()
self._pubsub.finished.wait(0.2)