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:
commit
b47667fc0c
1 changed files with 1 additions and 4 deletions
|
@ -188,8 +188,5 @@ func (n *topologyGC) Run() error {
|
|||
}
|
||||
|
||||
func (n *topologyGC) Stop() {
|
||||
select {
|
||||
case n.stopChan <- struct{}{}:
|
||||
default:
|
||||
}
|
||||
close(n.stopChan)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue