mirror of
https://github.com/bcicen/ctop.git
synced 2024-08-30 18:23:19 +00:00
Fix freeze when container is started/stopped multiple times
This commit is contained in:
parent
4741b276e4
commit
4a0e80ffdf
@ -74,6 +74,7 @@ func (c *Docker) Logs() LogCollector {
|
||||
|
||||
// Stop collector
|
||||
func (c *Docker) Stop() {
|
||||
c.running = false
|
||||
c.done <- true
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user