Startup
This commit is contained in:
@@ -301,6 +301,17 @@ def run(stop_event, statistics, parameter_queue, cam_client, pipeline_config, ou
|
||||
bs_send_thread.join(0.1)
|
||||
except:
|
||||
pass
|
||||
|
||||
if sender:
|
||||
try:
|
||||
sender.close()
|
||||
print "Trying to exit context"
|
||||
sender.stream.context.term()
|
||||
print "Done"
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
cleanup()
|
||||
_logger.debug("Exiting process. %s" % log_tag)
|
||||
sys.exit(exit_code)
|
||||
|
||||
Reference in New Issue
Block a user