From 1e6feeb12f69a8bb5baaf7779b47ccb1eb1e510f Mon Sep 17 00:00:00 2001 From: patterniha <71074308+patterniha@users.noreply.github.com> Date: Sun, 29 Nov 2026 16:11:23 +0900 Subject: [PATCH] Update timer.go --- common/signal/timer.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/signal/timer.go b/common/signal/timer.go index 0fd202f21..ffc26fcfb 100644 --- a/common/signal/timer.go +++ b/common/signal/timer.go @@ -70,6 +70,10 @@ func (t *ActivityTimer) SetTimeout(timeout time.Duration) { Execute: t.check, } common.CloseIfExists(t.checkTask) + select { + case <-t.updated: + default: + } t.checkTask = newCheckTask common.Must(newCheckTask.Start()) }