Merge pull request #5027 from hashicorp/dani/b-allocrunner-routine

allocrunner: Close updates routine correctly
This commit is contained in:
Danielle Tomlinson
2018-12-19 18:40:16 +01:00
committed by GitHub

View File

@@ -652,7 +652,7 @@ func (ar *allocRunner) handleAllocUpdates() {
case update := <-ar.allocUpdatedCh:
ar.handleAllocUpdate(update)
case <-ar.waitCh:
break
return
}
}
}