mirror of https://github.com/bcicen/ctop.git
set running = false when mock,runc collectors stopped
This commit is contained in:
parent
44600fca45
commit
99d9aeec98
|
@ -38,6 +38,7 @@ func (c *Mock) Start() {
|
|||
}
|
||||
|
||||
func (c *Mock) Stop() {
|
||||
c.running = false
|
||||
c.done = true
|
||||
}
|
||||
|
||||
|
|
|
@ -49,6 +49,7 @@ func (c *Runc) Start() {
|
|||
}
|
||||
|
||||
func (c *Runc) Stop() {
|
||||
c.running = false
|
||||
c.done = true
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue