Add grace=0 to server stop in Python example

Fixes #4122
pull/4135/head
Masood Malekghassemi 9 years ago
parent 118c0a0eec
commit 77ebadc662
  1. 2
      examples/python/helloworld/greeter_server.py

@ -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()

Loading…
Cancel
Save