mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
sched/signal and related changes to other OS subsystems.
This commit is contained in:
@@ -140,6 +140,10 @@ int timer_release(FAR struct posix_timer_s *timer)
|
||||
|
||||
(void)wd_delete(timer->pt_wdog);
|
||||
|
||||
/* Cancel any pending notification */
|
||||
|
||||
nxsig_cancel_notification(&timer->pt_work);
|
||||
|
||||
/* Release the timer structure */
|
||||
|
||||
timer_free(timer);
|
||||
|
||||
Reference in New Issue
Block a user