mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-17 05:15:21 +03:00
CF/BF - Prevent exceptions that result in a white content panel occuring
when unplugging USB cable while in CLI mode. Note: Various different exception scenarious were encountered in testing, the main solution seemed to be not trying to send when disconnected (!). Other state related issues were found along the way.
This commit is contained in:
parent
9bf9132772
commit
fb64fa0d61
3 changed files with 24 additions and 2 deletions
|
@ -340,6 +340,7 @@ function onClosed(result) {
|
|||
MSP.clearListeners();
|
||||
|
||||
CONFIGURATOR.connectionValid = false;
|
||||
CONFIGURATOR.cliValid = false;
|
||||
CONFIGURATOR.cliActive = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue