Skip to content
Snippets Groups Projects
Commit 77ebadc6 authored by Masood Malekghassemi's avatar Masood Malekghassemi
Browse files

Add grace=0 to server stop in Python example

Fixes #4122
parent 118c0a0e
Branches
Tags
No related merge requests found
......@@ -50,7 +50,7 @@ def serve():
while True:
time.sleep(_ONE_DAY_IN_SECONDS)
except KeyboardInterrupt:
server.stop()
server.stop(0)
if __name__ == '__main__':
serve()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment