This commit is contained in:
Tatsuhiro Tsujikawa 2015-09-26 18:54:38 +09:00
parent 637288359e
commit c749ae0cac
1 changed files with 4 additions and 0 deletions

View File

@ -110,6 +110,10 @@ void graceful_shutdown(ConnectionHandler *conn_handler) {
// We have accepted all pending connections. Shutdown main event // We have accepted all pending connections. Shutdown main event
// loop. // loop.
// TODO this makes IPC from master process impossible. Perhaps, we
// should keep alive default loop, and break it once all connections
// are terminated somehow.
ev_break(conn_handler->get_loop()); ev_break(conn_handler->get_loop());
} }
} // namespace } // namespace