mirror of
https://github.com/matrix-construct/construct
synced 2025-02-16 16:50:12 +01:00
ircd:Ⓜ️ Twerk module load and unload order related.
This commit is contained in:
parent
c57bc9077c
commit
6cebec8a8f
1 changed files with 7 additions and 10 deletions
17
ircd/m.cc
17
ircd/m.cc
|
@ -182,9 +182,6 @@ void
|
||||||
ircd::m::init::modules::fini_imports()
|
ircd::m::init::modules::fini_imports()
|
||||||
noexcept
|
noexcept
|
||||||
{
|
{
|
||||||
// Stop the vm (unload) this first even though it loads first.
|
|
||||||
mods::imports.erase("m_vm");
|
|
||||||
|
|
||||||
for(auto it(module_names.rbegin()); it != module_names.rend(); ++it)
|
for(auto it(module_names.rbegin()); it != module_names.rend(); ++it)
|
||||||
mods::imports.erase(*it);
|
mods::imports.erase(*it);
|
||||||
}
|
}
|
||||||
|
@ -247,13 +244,12 @@ ircd::m::module_names
|
||||||
"m_event_append",
|
"m_event_append",
|
||||||
"m_command",
|
"m_command",
|
||||||
"m_control",
|
"m_control",
|
||||||
|
"conf",
|
||||||
|
"net_dns",
|
||||||
"key_query",
|
"key_query",
|
||||||
"key_server",
|
"key_server",
|
||||||
"identity_pubkey",
|
"identity_pubkey",
|
||||||
"identity_v1",
|
"identity_v1",
|
||||||
"media_media",
|
|
||||||
"conf",
|
|
||||||
"net_dns",
|
|
||||||
"federation_backfill_ids",
|
"federation_backfill_ids",
|
||||||
"federation_backfill",
|
"federation_backfill",
|
||||||
"federation_event_auth",
|
"federation_event_auth",
|
||||||
|
@ -287,10 +283,10 @@ ircd::m::module_names
|
||||||
"client_devices",
|
"client_devices",
|
||||||
"client_delete_devices",
|
"client_delete_devices",
|
||||||
"client_send_to_device",
|
"client_send_to_device",
|
||||||
"client_keys_query",
|
|
||||||
"client_keys_claim",
|
|
||||||
"client_keys_changes",
|
"client_keys_changes",
|
||||||
"client_keys_upload",
|
"client_keys_upload",
|
||||||
|
"client_keys_claim",
|
||||||
|
"client_keys_query",
|
||||||
"client_presence",
|
"client_presence",
|
||||||
"client_joined_groups",
|
"client_joined_groups",
|
||||||
"client_publicised_groups",
|
"client_publicised_groups",
|
||||||
|
@ -326,16 +322,17 @@ ircd::m::module_names
|
||||||
"client_sync_rooms_summary",
|
"client_sync_rooms_summary",
|
||||||
"client_voip_turnserver",
|
"client_voip_turnserver",
|
||||||
"client_thirdparty_protocols",
|
"client_thirdparty_protocols",
|
||||||
|
"media_media",
|
||||||
"client_versions",
|
"client_versions",
|
||||||
"client_capabilities",
|
"client_capabilities",
|
||||||
"well_known",
|
"well_known",
|
||||||
"web_root",
|
"web_root",
|
||||||
"web_hook",
|
"web_hook",
|
||||||
"m_listen",
|
"stats",
|
||||||
"m_vm_fetch",
|
"m_vm_fetch",
|
||||||
"m_vm",
|
"m_vm",
|
||||||
"m_init_backfill",
|
"m_init_backfill",
|
||||||
"stats",
|
"m_listen",
|
||||||
};
|
};
|
||||||
|
|
||||||
/// This is a list of modules that are considered "optional" and any loading
|
/// This is a list of modules that are considered "optional" and any loading
|
||||||
|
|
Loading…
Add table
Reference in a new issue