1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 21:06:38 +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 -1
View File
@@ -2,7 +2,7 @@
#include "modules.h"
std::vector<SerializableBase *> serialized_types;
std::list<SerializableBase *> serialized_items;
std::list<SerializableBase *> *serialized_items;
void RegisterTypes()
{