mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
ircd:Ⓜ️:homeserver: Move module unload to same unit as load.
This commit is contained in:
parent
820ad6b57b
commit
b07f8d633e
2 changed files with 3 additions and 2 deletions
|
@ -267,6 +267,9 @@ noexcept
|
|||
signoff(*this);
|
||||
vm.reset();
|
||||
|
||||
if(primary == this)
|
||||
mods::imports.erase("net_dns_cache"s);
|
||||
|
||||
while(!modules.empty())
|
||||
modules.pop_back();
|
||||
}
|
||||
|
|
|
@ -226,8 +226,6 @@ noexcept try
|
|||
|
||||
_fetch.reset(nullptr);
|
||||
|
||||
mods::imports.erase("net_dns_cache"s);
|
||||
|
||||
//TODO: remove this for non-interfering shutdown
|
||||
//server::interrupt_all();
|
||||
//client::terminate_all();
|
||||
|
|
Loading…
Reference in a new issue