set running = false when mock,runc collectors stopped

This commit is contained in:
Bradley Cicenas 2020-11-13 21:43:11 +00:00
parent 44600fca45
commit 99d9aeec98
No known key found for this signature in database
GPG Key ID: AF579ED4B93CBB5C
2 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,7 @@ func (c *Mock) Start() {
}
func (c *Mock) Stop() {
c.running = false
c.done = true
}

View File

@ -49,6 +49,7 @@ func (c *Runc) Start() {
}
func (c *Runc) Stop() {
c.running = false
c.done = true
}