forgot to stop ticket

This commit is contained in:
Drew Weymouth
2023-03-30 19:19:01 -07:00
parent 8c52097536
commit 8d13575000
+1
View File
@@ -32,6 +32,7 @@ func (u *UpdateChecker) Start(ctx context.Context, interval time.Duration) {
for {
select {
case <-ctx.Done():
t.Stop()
return
case <-t.C:
u.checkForUpdate()