From 6135a7b9e22c9884a19f187499f419ee1c27ba70 Mon Sep 17 00:00:00 2001 From: wangguibao Date: Wed, 27 Feb 2019 11:51:52 +0800 Subject: [PATCH] Handle keyboard interrupt Change-Id: I41e2df9fe293b02c32a7926ba1625bdc7c94cfc0 --- predictor/framework/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/predictor/framework/server.cpp b/predictor/framework/server.cpp index f8d1152b..e5b9970a 100644 --- a/predictor/framework/server.cpp +++ b/predictor/framework/server.cpp @@ -76,11 +76,11 @@ int ServerManager::start_and_wait() { } _server.RunUntilAskedToQuit(); + ServerManager::stop_reloader(); if (_wait_reloader() != 0) { LOG(ERROR) << "Failed start reloader"; return -1; } - return 0; } -- GitLab