1
0
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:
Adam
2011-10-10 15:04:23 -04:00
parent 9f3d735d9d
commit 80f4f317b2
5 changed files with 24 additions and 25 deletions
-1
View File
@@ -379,7 +379,6 @@ int main(int ac, char **av, char **envp)
ModuleManager::UnloadModule(m, NULL);
ModuleManager::CleanupRuntimeDirectory();
serialized_items.clear();
#ifdef _WIN32
OnShutdown();