Make CNxTimer stop itself before destruction. Otherwise a call to an invalid work queue entry may occur. From Petteri Aimonen

This commit is contained in:
Gregory Nutt 2014-07-22 07:48:32 -06:00
parent a864dcd7cd
commit ca6b53f704

View File

@ -129,6 +129,7 @@ CNxTimer::CNxTimer(CWidgetControl *pWidgetControl, uint32_t timeout, bool repeat
CNxTimer::~CNxTimer(void)
{
stop();
}
/**