0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01:00

construct/ircd: Minor update stale comments.

This commit is contained in:
Jason Volk 2018-02-22 01:33:25 -08:00
parent ec4a631608
commit 8ae1e735f2
2 changed files with 3 additions and 3 deletions

View file

@ -119,7 +119,7 @@ try
// Because we registered signal handlers with the io_context, ios->run() // Because we registered signal handlers with the io_context, ios->run()
// is now shared between those handlers and libircd. This means the run() // is now shared between those handlers and libircd. This means the run()
// won't return even if we call ircd::stop(). We use the callback to then // won't return even if we call ircd::quit(). We use the callback to then
// cancel the handlers so run() can return and the program can exit. // cancel the handlers so run() can return and the program can exit.
ircd::runlevel_changed = [](const enum ircd::runlevel &mode) ircd::runlevel_changed = [](const enum ircd::runlevel &mode)
{ {
@ -144,7 +144,7 @@ try
console_execute({execute}); console_execute({execute});
// Execution. // Execution.
// Blocks until a clean exit from a stop() or an exception comes out of it. // Blocks until a clean exit from a quit() or an exception comes out of it.
ios->run(); ios->run();
} }
catch(const ircd::user_error &e) catch(const ircd::user_error &e)

View file

@ -171,7 +171,7 @@ noexcept
return true; return true;
} }
/// Main context; Main program loop. Do not call this function directly. /// Main context; Main program. Do not call this function directly.
/// ///
/// This function manages the lifetime for all resources and subsystems /// This function manages the lifetime for all resources and subsystems
/// that don't/can't have their own static initialization. When this /// that don't/can't have their own static initialization. When this