Skip to content

Commit

Permalink
fix(apacheGH-1735): remove pollOnce from NativeToJsMessageQueue.popAn…
Browse files Browse the repository at this point in the history
…dEncodeAsJs
  • Loading branch information
erisu committed Nov 13, 2024
1 parent 5a2c50d commit aa8118d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions framework/src/org/apache/cordova/NativeToJsMessageQueue.java
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,6 @@ public String popAndEncodeAsJs() {
sb.append("}finally{");
}
}
if (!willSendAllMessages) {
sb.append("window.setTimeout(function(){cordova.require('cordova/plugin/android/polling').pollOnce();},0);");
}
for (int i = willSendAllMessages ? 1 : 0; i < numMessagesToSend; ++i) {
sb.append('}');
}
Expand Down

0 comments on commit aa8118d

Please sign in to comment.