Skip to content
Snippets Groups Projects
Commit 88e6e73b authored by Christopher Randolph Rhodes's avatar Christopher Randolph Rhodes
Browse files

Explicitly close process when shutting down server

parent ac0640fe
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,6 @@ if __name__ == '__main__':
'host': args.host,
'port': int(args.port),
'log_level': 'debug',
'reload': False
},
daemon=True,
)
......@@ -56,4 +55,5 @@ if __name__ == '__main__':
while input_str.upper() != 'STOP':
input_str = input()
server_process.close()
print('Finished')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment