wzshiming: Automated cherry pick of #100326: Fix watchForLockfileContention memory leak

JobBuild
101796
05-07 16:07
5149a75f
05-07 16:07
pull-kubernetes-bazel-build 1402227221329874944 1402209084509261824 1390699504285519872
pull-kubernetes-bazel-test 1402227221350846464 1402209084526039040 1390699504306491392
pull-kubernetes-dependencies 1402209084551204864 1390699504327462912
pull-kubernetes-e2e-gce-100-performance 1402227221313097728 1402209084492484608 1390699504268742656
pull-kubernetes-e2e-gce-ubuntu-containerd 1402227221262766080 1402209084450541568 1390699504222605312
pull-kubernetes-e2e-kind 1402209084584759296 1390699504369405952
pull-kubernetes-integration 1402227221376012288 1402209084567982080 1390699504352628736
pull-kubernetes-node-e2e 1402227221283737600 1402209084467318784 1390699504243576832
pull-kubernetes-typecheck 1402209084605730816 1390699504394571776
pull-kubernetes-verify 1402209084622508032 1390699504415543296