base: reset discarded Alarm object appropriatedly

Fix #3881
This commit is contained in:
Stefan Kalkowski 2020-09-09 15:22:29 +02:00 committed by Christian Helmuth
parent 328a4fa644
commit c1d99630c2

View File

@ -418,6 +418,7 @@ void Alarm_timeout_scheduler::_alarm_discard(Alarm *alarm)
/* get anyone using this out of '_alarm_get_pending_alarm'() finally */
Mutex::Guard alarm_guard(alarm->_dispatch_mutex);
alarm->_delete = false;
}
}