mirror of
https://github.com/anope/anope.git
synced 2026-06-29 14:36:39 +02:00
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
This commit is contained in:
@@ -51,6 +51,8 @@ NickAlias::NickAlias(const Anope::string &nickname, NickCore* nickcore) : Serial
|
||||
|
||||
NickAlias::~NickAlias()
|
||||
{
|
||||
UnsetExtensibles();
|
||||
|
||||
FOREACH_MOD(OnDelNick, (this));
|
||||
|
||||
/* Accept nicks that have no core, because of database load functions */
|
||||
|
||||
Reference in New Issue
Block a user