Skip to content

Commit d77c062

Browse files
dgageotbalopat
authored andcommitted
Fix go routine leak (#1874)
Signed-off-by: David Gageot <[email protected]>
1 parent afe7a2a commit d77c062

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/skaffold/watch/triggers.go

+1
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ func (t *fsNotifyTrigger) Start(ctx context.Context) (<-chan bool, error) {
173173
trigger <- true
174174
case <-ctx.Done():
175175
timer.Stop()
176+
return
176177
}
177178
}
178179
}()

0 commit comments

Comments
 (0)