Merge pull request #5620 from VcamX/patch-1

Set grace=0 to server stop in route_guide
pull/5639/head
Masood Malekghassemi 9 years ago
commit dba948569a
  1. 2
      examples/python/route_guide/route_guide_server.py

@ -128,7 +128,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