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:
parent
ec4a631608
commit
8ae1e735f2
2 changed files with 3 additions and 3 deletions
|
@ -119,7 +119,7 @@ try
|
|||
|
||||
// Because we registered signal handlers with the io_context, ios->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.
|
||||
ircd::runlevel_changed = [](const enum ircd::runlevel &mode)
|
||||
{
|
||||
|
@ -144,7 +144,7 @@ try
|
|||
console_execute({execute});
|
||||
|
||||
// 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();
|
||||
}
|
||||
catch(const ircd::user_error &e)
|
||||
|
|
|
@ -171,7 +171,7 @@ noexcept
|
|||
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
|
||||
/// that don't/can't have their own static initialization. When this
|
||||
|
|
Loading…
Reference in a new issue