0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 00:32:35 +01:00

ircd:Ⓜ️:vm: Move vm submodules ctor/dtor into libircd for recursive issues for now.

This commit is contained in:
Jason Volk 2018-06-12 00:31:20 -07:00
parent 59a39caca3
commit d912400f32
2 changed files with 1 additions and 3 deletions

View file

@ -139,6 +139,7 @@ try
// Manually load first modules
m::modules.emplace("vm"s, "vm"s);
m::modules.emplace("vm_fetch"s, "vm_fetch"s);
// The order of these prefixes will be the loading order. Order of
// specific modules within a prefix is not determined here.

View file

@ -60,8 +60,6 @@ ircd::m::vm::notify_hook
void
ircd::m::vm::init()
{
m::modules.emplace("vm_fetch"s, "vm_fetch"s);
id::event::buf event_id;
current_sequence = retired_sequence(event_id);
@ -77,7 +75,6 @@ ircd::m::vm::init()
void
ircd::m::vm::fini()
{
m::modules.erase("vm_fetch"s);
assert(eval::list.empty());
id::event::buf event_id;