Set grace=0 to server stop in route_guide

Fix #5619
This commit is contained in:
VcamX 2016-03-07 13:08:38 +08:00
parent 72724bce84
commit 208fd6b339
1 changed files with 1 additions and 1 deletions

View File

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