kopia lustrzana https://github.com/cyoung/stratux
comment update
rodzic
d9a2667c18
commit
100afa42f2
|
@ -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
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue