Fix
This commit is contained in:
@@ -332,6 +332,7 @@ func (m *MonitorMgr) Cleanup(app string, exit chan bool) {
|
|||||||
case <-t.C:
|
case <-t.C:
|
||||||
glog.Infof("Cleaning up app %s", app)
|
glog.Infof("Cleaning up app %s", app)
|
||||||
m.Remove(app)
|
m.Remove(app)
|
||||||
|
return
|
||||||
case <-exit:
|
case <-exit:
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user