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:
+1
-1
@@ -2,7 +2,7 @@
|
||||
#include "modules.h"
|
||||
|
||||
std::vector<SerializableBase *> serialized_types;
|
||||
std::list<SerializableBase *> serialized_items;
|
||||
std::list<SerializableBase *> *serialized_items;
|
||||
|
||||
void RegisterTypes()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user