You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using _, _, w, _ := watch.NewIndexerInformerWatcher(), w.ResultChan() is not being closed at the end, after calling w.Stop(). So a range loop like this will never end.
fore:=rangew.ResultChan() {
handler(e)
}
// code is never reaching this point
The text was updated successfully, but these errors were encountered:
k8s-ci-robot
added
lifecycle/rotten
Denotes an issue or PR that has aged beyond stale and will be auto-closed.
and removed
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
labels
Aug 21, 2024
When using
_, _, w, _ := watch.NewIndexerInformerWatcher()
,w.ResultChan()
is not being closed at the end, after callingw.Stop()
. So a range loop like this will never end.The text was updated successfully, but these errors were encountered: