diff options
author | lawl <github@dumbinter.net> | 2020-08-03 15:00:43 +0200 |
---|---|---|
committer | lawl <github@dumbinter.net> | 2020-08-03 15:00:43 +0200 |
commit | 371b3e33b523f45ec51776e7e7a33f824084dca5 (patch) | |
tree | 9d7573b66f43dd687e8064f5976a22e62dff21c4 /main.go | |
parent | 4243d5036d1e7d339ca8ee3ff8a0be88a9f0d92c (diff) | |
download | noisetorch-371b3e33b523f45ec51776e7e7a33f824084dca5.tar.gz noisetorch-371b3e33b523f45ec51776e7e7a33f824084dca5.zip |
Fix bugs with pa reconnection
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -101,6 +101,7 @@ func removeLib(file string) { func paConnectionWatchdog(ui *uistate) { for { if ui.paClient.Connected() { + time.Sleep(500 * time.Millisecond) continue } @@ -139,6 +140,8 @@ func paConnectionWatchdog(ui *uistate) { ui.inputList = inputs + resetUI(ui) + time.Sleep(500 * time.Millisecond) } } |