mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 19:05:42 +03:00
gc: Wait for allocrunners to be destroyed
This commit is contained in:
@@ -183,7 +183,7 @@ func (a *AllocGarbageCollector) destroyAllocRunner(allocID string, ar AllocRunne
|
||||
ar.Destroy()
|
||||
|
||||
select {
|
||||
case <-ar.WaitCh():
|
||||
case <-ar.DestroyCh():
|
||||
case <-a.shutdownCh:
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user