mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
CZNC::~CZNC() set its pointer to the CConnectUserTimer to NULL and then called the manager's Cleanup(). If some destructor that is called from here then calls EnableConnectUser(), a new CConnectUserTimer is created and its address is saved. But since the manager is destroying all timers, this pointer will soon become dangling and might crash us later on. This is solved by clearing CZNC's pointer in CConnectUserTimer's destructor. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1624 726aef4b-f618-498e-8847-2d620e286838
50 KiB
50 KiB