mirror of
https://github.com/bcicen/ctop.git
synced 2024-08-30 18:23:19 +00:00
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
Block a user