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 ece8727 commit 4e54f89Copy full SHA for 4e54f89
src/android/BLECentralPlugin.java
@@ -740,7 +740,9 @@ public void run() {
740
// Default to call the failure callback unless we find something
741
PluginResult result = new PluginResult(PluginResult.Status.NO_RESULT);
742
result.setKeepCallback(true);
743
- callbackContext.sendPluginResult(result);
+
744
+ if (callbackContext!=null) // 5/6/17 - NVF Added this to avoid cores - not sure if it will cause other issues instead of figuring out why...
745
+ callbackContext.sendPluginResult(result);
746
}
747
748
private void listKnownDevices(CallbackContext callbackContext) {
0 commit comments