Skip to content

Commit 60e048d

Browse files
author
Alex Wong
committed
fix close of closed channel
1 parent 219b408 commit 60e048d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/custompluginmonitor/custom_plugin_monitor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ func (c *customPluginMonitor) monitorLoop() {
137137
c.plugin.Stop()
138138
glog.Infof("Custom plugin monitor stopped: %s", c.configPath)
139139
c.tomb.Done()
140-
break
140+
return
141141
}
142142
}
143143
}

0 commit comments

Comments
 (0)