mirror of
https://github.com/znc/znc.git
synced 2026-05-05 04:52:31 +02:00
CModule::RemTimer(CTimer* pTimer) only removed the timer from CModule's own list of timers but didn't actually destroy the timer. This meant that the timer could continue to run after it was supposed to be deleted. Because CModule's destructor used this function this means that all timers active when a module is unloaded where leaked. When these timers where then later destroyed this caused a crash because their vtable points inside the module which was already unloaded (not good!). Thanks to KiNgMaR for finding and reporting this crash bug. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1650 726aef4b-f618-498e-8847-2d620e286838
35 KiB
35 KiB