output析构方法更新,退出逻辑补充

This commit is contained in:
2022-06-12 09:47:18 +08:00
parent e2f582204a
commit ee45407f0e
2 changed files with 8 additions and 5 deletions

View File

@ -23,4 +23,7 @@ if __name__ == '__main__':
signal.signal(signal.SIGTERM, terminate)
signal.signal(signal.SIGINT, terminate)
output_manager.start_loop()
proxy_manager.join()
try:
proxy_manager.join()
finally:
terminate()