mirror of
https://github.com/anope/anope.git
synced 2026-06-27 14:26:38 +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:
@@ -292,6 +292,8 @@ void User::SetRealname(const Anope::string &srealname)
|
||||
|
||||
User::~User()
|
||||
{
|
||||
UnsetExtensibles();
|
||||
|
||||
if (this->server != NULL)
|
||||
{
|
||||
if (this->server->IsSynced())
|
||||
|
||||
Reference in New Issue
Block a user