From b3cf0ba2fb1520478fa0379800ade31514631ca3 Mon Sep 17 00:00:00 2001 From: Elias Lecomte Date: Mon, 10 Aug 2020 14:32:15 +0200 Subject: [PATCH] Remove destroying of client upon catalystInstanceDestroy. --- .../java/com/polidea/reactnativeble/BleClientManager.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/android/src/main/java/com/polidea/reactnativeble/BleClientManager.java b/android/src/main/java/com/polidea/reactnativeble/BleClientManager.java index ef2e56f7..81fc2760 100644 --- a/android/src/main/java/com/polidea/reactnativeble/BleClientManager.java +++ b/android/src/main/java/com/polidea/reactnativeble/BleClientManager.java @@ -99,12 +99,6 @@ public void destroyClient() { bleAdapter.destroyClient(); } - @Override - public void onCatalystInstanceDestroy() { - super.onCatalystInstanceDestroy(); - destroyClient(); - } - // Mark: Common -------------------------------------------------------------------------------- @ReactMethod