Skip to content

Commit

Permalink
Merge branch 'main' into retry-crd-not-installed
Browse files Browse the repository at this point in the history
  • Loading branch information
zreigz authored Jul 16, 2024
2 parents d811aa3 + ab209c4 commit bf6f4d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/kstatus/watcher/watcher_reference.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ func (ir *watcherReference) Stop() {
return
}

ir.watcher.Stop()
if ir.watcher != nil {
ir.watcher.Stop()
}
ir.cancel()
ir.started = false
ir.context = nil
Expand Down

0 comments on commit bf6f4d8

Please sign in to comment.