diff --git a/pkg/nfd-topology-gc/nfd-nrt-gc.go b/pkg/nfd-topology-gc/nfd-nrt-gc.go index bb245ecdb0..31d6dd573d 100644 --- a/pkg/nfd-topology-gc/nfd-nrt-gc.go +++ b/pkg/nfd-topology-gc/nfd-nrt-gc.go @@ -188,8 +188,5 @@ func (n *topologyGC) Run() error { } func (n *topologyGC) Stop() { - select { - case n.stopChan <- struct{}{}: - default: - } + close(n.stopChan) }