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:
parent
a864dcd7cd
commit
ca6b53f704
@ -129,6 +129,7 @@ CNxTimer::CNxTimer(CWidgetControl *pWidgetControl, uint32_t timeout, bool repeat
|
||||
|
||||
CNxTimer::~CNxTimer(void)
|
||||
{
|
||||
stop();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user