Skip to content

Commit ab0902e

Browse files
committed
Release wakelock when timer is reset
1 parent cf62482 commit ab0902e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/displayapp/screens/Timer.cpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ void Timer::ToggleRunning() {
182182
auto timerStatus = timer.GetTimerState();
183183
if (timerStatus && timerStatus->expired) {
184184
motorController.StopRinging();
185+
wakeLock.Release();
185186
Reset();
186187
} else if (timer.IsRunning()) {
187188
DisplayTime();

0 commit comments

Comments
 (0)