mirror of
https://github.com/anope/anope.git
synced 2026-06-27 04:46:37 +02:00
Put serialized_items on the heap to prevent weird crashes on shutdown from the list being destructed before members in it
This commit is contained in:
@@ -379,7 +379,6 @@ int main(int ac, char **av, char **envp)
|
||||
ModuleManager::UnloadModule(m, NULL);
|
||||
|
||||
ModuleManager::CleanupRuntimeDirectory();
|
||||
serialized_items.clear();
|
||||
|
||||
#ifdef _WIN32
|
||||
OnShutdown();
|
||||
|
||||
Reference in New Issue
Block a user