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:
parent
8717574e4d
commit
89d8f7cf27
1 changed files with 3 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue