pull/291/head
Joseph Poirier 2016-02-27 00:05:37 -06:00
rodzic d9a2667c18
commit 100afa42f2
1 zmienionych plików z 5 dodań i 4 usunięć

Wyświetl plik

@ -418,10 +418,11 @@ func configDevices(count int, es_enabled, uat_enabled bool) {
// chicken and egg - to gracefully shut down a read method we
// check a channel for a close flag, but now we want to handle
// catastrophic dongle failures (when ReadSync returns or we get
// stderr ouput) but we can't just bypass the channel check and
// return directly from the goroutine because the close channel
// call in shutdown will cause a runtime panic, hence these...
// catastrophic dongle failures (when ReadSync returns an error
// or we get stderr ouput) but we can't just bypass the channel
// check and return directly from a goroutine because the close
// channel call in the shutdown method will cause a runtime panic,
// hence these...
var shutdownES bool
var shutdownUAT bool