mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-07 13:37:21 +00:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -129,6 +129,7 @@ CNxTimer::CNxTimer(CWidgetControl *pWidgetControl, uint32_t timeout, bool repeat
|
|||
|
||||
CNxTimer::~CNxTimer(void)
|
||||
{
|
||||
stop();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue