From d276351745e1a7e1f508ededc04200404a535e85 Mon Sep 17 00:00:00 2001 From: mac-user6 Date: Tue, 18 Oct 2022 12:59:44 +0300 Subject: [PATCH] Fix bug #113 in new version package(0.16.3) --- .../java/com/ReactNativeBlobUtil/ReactNativeBlobUtilReq.java | 1 + 1 file changed, 1 insertion(+) diff --git a/android/src/main/java/com/ReactNativeBlobUtil/ReactNativeBlobUtilReq.java b/android/src/main/java/com/ReactNativeBlobUtil/ReactNativeBlobUtilReq.java index e30d3d9df..1002d3497 100644 --- a/android/src/main/java/com/ReactNativeBlobUtil/ReactNativeBlobUtilReq.java +++ b/android/src/main/java/com/ReactNativeBlobUtil/ReactNativeBlobUtilReq.java @@ -171,6 +171,7 @@ public static void cancelTask(String taskId) { private void invoke_callback(Object... args) { if (this.callbackfired) return; this.callback.invoke(args); + this.callbackfired = true; } private final int QUERY = 1314;