From 208fd6b339364f9677bbcdfc3bb955ca908fbe2e Mon Sep 17 00:00:00 2001 From: VcamX Date: Mon, 7 Mar 2016 13:08:38 +0800 Subject: Set grace=0 to server stop in route_guide Fix #5619 --- examples/python/route_guide/route_guide_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/python/route_guide') diff --git a/examples/python/route_guide/route_guide_server.py b/examples/python/route_guide/route_guide_server.py index f23b98bf36..24f948c42c 100644 --- a/examples/python/route_guide/route_guide_server.py +++ b/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() -- cgit v1.2.3