summaryrefslogtreecommitdiff
path: root/include/extensible.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2015-07-13 17:59:14 -0400
committerAdam <Adam@anope.org>2015-07-13 17:59:14 -0400
commitceddb8370c85f5c5319b497a9c4efb578338beed (patch)
treec43b6a5d4ac515bf4492840b17aa63172a617d71 /include/extensible.h
parent4362f53cc38177039d6f6b86565e73800e7b5390 (diff)
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
Diffstat (limited to 'include/extensible.h')
-rw-r--r--include/extensible.h2
1 files changed, 2 insertions, 0 deletions
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<typename T> T* GetExt(const Anope::string &name) const;
bool HasExt(const Anope::string &name) const;