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:
parent
7906ca1060
commit
86d0d720a1
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue