0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-16 23:10:54 +01:00

ircd:Ⓜ️:homeserver: Move module unload to same unit as load.

This commit is contained in:
Jason Volk 2020-02-25 13:31:11 -08:00
parent 820ad6b57b
commit b07f8d633e
2 changed files with 3 additions and 2 deletions

View file

@ -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();
}

View file

@ -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();