0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-17 07:20:55 +01:00

ircd:Ⓜ️:homeserver: Terminate backfill first on shutdown for now.

This commit is contained in:
Jason Volk 2020-02-28 10:42:54 -08:00
parent 8717574e4d
commit 89d8f7cf27

View file

@ -277,6 +277,8 @@ noexcept
{
if(primary == this)
{
m::init::backfill::fini();
//TODO: remove this for non-interfering shutdown
server::init::interrupt();
client::terminate_all();
@ -284,14 +286,11 @@ noexcept
client::close_all();
client::wait_all();
server::init::wait();
}
if(primary == this)
{
m::init::backfill::fini();
m::sync::pool.join();
}
signoff(*this);
if(primary == this)
mods::imports.erase("net_dns_cache"s);