We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38ed2cc commit cb1afb3Copy full SHA for cb1afb3
common/signal/timer.go
@@ -67,9 +67,9 @@ func (t *ActivityTimer) SetTimeout(timeout time.Duration) {
67
t.checkTask.Close()
68
}
69
t.checkTask = checkTask
70
- t.Unlock()
71
t.Update()
72
common.Must(checkTask.Start())
+ t.Unlock()
73
74
75
func CancelAfterInactivity(ctx context.Context, cancel context.CancelFunc, timeout time.Duration) *ActivityTimer {
0 commit comments