0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-30 04:38:52 +02:00

ircd:Ⓜ️ Unload vm first during fini procedure.

This commit is contained in:
Jason Volk 2019-06-23 16:27:45 -07:00
parent 7906ca1060
commit 86d0d720a1

View file

@ -164,6 +164,9 @@ void
ircd::m::init::modules::fini_imports()
noexcept
{
// Stop the vm (unload) this first even though it loads first.
mods::imports.erase("vm");
for(auto it(module_names.rbegin()); it != module_names.rend(); ++it)
mods::imports.erase(*it);
}