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;