Add doc
This commit is contained in:
parent
637288359e
commit
c749ae0cac
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue