From ceddb8370c85f5c5319b497a9c4efb578338beed Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 13 Jul 2015 17:59:14 -0400 Subject: Unset extensibles on larger objects when they destruct Some complex extensibles require the full object to still be alive in their destructors to keep proper bookkeeping --- include/extensible.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/extensible.h b/include/extensible.h index 2a852ff47..c9787fd21 100644 --- a/include/extensible.h +++ b/include/extensible.h @@ -40,6 +40,8 @@ class CoreExport Extensible virtual ~Extensible(); + void UnsetExtensibles(); + template T* GetExt(const Anope::string &name) const; bool HasExt(const Anope::string &name) const; -- cgit