Merge pull request #5027 from hashicorp/dani/b-allocrunner-routine
allocrunner: Close updates routine correctly
This commit is contained in:
commit
713cf8ddb6
|
@ -652,7 +652,7 @@ func (ar *allocRunner) handleAllocUpdates() {
|
|||
case update := <-ar.allocUpdatedCh:
|
||||
ar.handleAllocUpdate(update)
|
||||
case <-ar.waitCh:
|
||||
break
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue