提交 6135a7b9 编写于 作者: W wangguibao

Handle keyboard interrupt

Change-Id: I41e2df9fe293b02c32a7926ba1625bdc7c94cfc0
上级 3dec0519
...@@ -76,11 +76,11 @@ int ServerManager::start_and_wait() { ...@@ -76,11 +76,11 @@ int ServerManager::start_and_wait() {
} }
_server.RunUntilAskedToQuit(); _server.RunUntilAskedToQuit();
ServerManager::stop_reloader();
if (_wait_reloader() != 0) { if (_wait_reloader() != 0) {
LOG(ERROR) << "Failed start reloader"; LOG(ERROR) << "Failed start reloader";
return -1; return -1;
} }
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册