Skip to content

Commit

Permalink
Merge pull request #1306 from marquiz/devel/gc-fix-stop
Browse files Browse the repository at this point in the history
topology-gc: fix Stop
  • Loading branch information
k8s-ci-robot committed Aug 18, 2023
2 parents fe0763e + 108d603 commit b47667f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/nfd-topology-gc/nfd-nrt-gc.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,5 @@ func (n *topologyGC) Run() error {
}

func (n *topologyGC) Stop() {
select {
case n.stopChan <- struct{}{}:
default:
}
close(n.stopChan)
}

0 comments on commit b47667f

Please sign in to comment.