mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-16 04:45:18 +03:00
traffic tracking inside serial backend
This commit is contained in:
parent
b0c4b1cf1b
commit
c98bdd9f54
3 changed files with 16 additions and 20 deletions
|
@ -129,11 +129,6 @@ $(document).ready(function() {
|
|||
GUI.tab_switch_cleanup();
|
||||
GUI.timeout_remove('connecting');
|
||||
|
||||
// remove listeners
|
||||
serial.onReceive.listeners_.forEach(function(listener) {
|
||||
serial.onReceive.removeListener(listener.callback);
|
||||
});
|
||||
|
||||
serial.disconnect(onClosed);
|
||||
|
||||
GUI.connected_to = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue