diff --git a/ircd/ircd.cc b/ircd/ircd.cc index 8ad0793c4..8cd05bd44 100644 --- a/ircd/ircd.cc +++ b/ircd/ircd.cc @@ -23,7 +23,6 @@ namespace ircd ctx::ctx *main_context; // Main program loop void set_runlevel(const enum runlevel &); - void at_main_exit() noexcept; void main() noexcept; } @@ -175,7 +174,6 @@ noexcept try // transitions to HALT. const unwind halted{[] { - at_main_exit(); set_runlevel(runlevel::HALT); }}; @@ -238,17 +236,6 @@ catch(...) }; } -void -ircd::at_main_exit() -noexcept -{ - strand->post([] - { - delete strand; - strand = nullptr; - }); -} - /// IRCd uptime in seconds ircd::seconds ircd::uptime()