This commit is contained in:
2022-08-23 14:26:18 +02:00
parent babab29741
commit 569de2c553
2 changed files with 3 additions and 2 deletions

View File

@@ -302,6 +302,7 @@ def run(stop_event, statistics, parameter_queue, cam_client, pipeline_config, ou
bs_send_thread.join(0.1)
except:
pass
"""
print ("Pass")
sender = get_sender()
if sender:
@@ -316,7 +317,7 @@ def run(stop_event, statistics, parameter_queue, cam_client, pipeline_config, ou
print ("Exception")
traceback.print_exc()
"""
cleanup()
_logger.debug("Exiting process. %s" % log_tag)
print("Exiting process. %s" % log_tag)

View File

@@ -32,4 +32,4 @@ with source(host="127.0.0.1", port=OUTPUT_PORT, mode=SUB, receive_timeout = 3000
print (data.data.data.keys())
stop_event.set()
#thread.join(5.0)
thread.join(5.0)