1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-15 04:57:56 +00:00

Merge pull request #1306 from marquiz/devel/gc-fix-stop

topology-gc: fix Stop
This commit is contained in:
Kubernetes Prow Robot 2023-08-18 10:34:29 -07:00 committed by GitHub
commit b47667fc0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -188,8 +188,5 @@ func (n *topologyGC) Run() error {
} }
func (n *topologyGC) Stop() { func (n *topologyGC) Stop() {
select { close(n.stopChan)
case n.stopChan <- struct{}{}:
default:
}
} }