We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df2a2a4 commit 338cb36Copy full SHA for 338cb36
android/app/src/main/java/betaflight/configurator/plugin/SocketPlugin.java
@@ -95,6 +95,7 @@ public void connect(final PluginCall call) {
95
} catch (Exception e) {
96
state.set(ConnectionState.ERROR);
97
closeResourcesInternal();
98
+ state.set(ConnectionState.DISCONNECTED); // allow a new connect() attempt
99
call.reject("Connection failed: " + e.getMessage());
100
Log.e(TAG, "Connection failed", e);
101
} finally {
0 commit comments