Skip to content

Commit 9a21426

Browse files
committed
fix(apacheGH-1735): remove pollOnce from NativeToJsMessageQueue.popAndEncodeAsJs
1 parent b623311 commit 9a21426

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

framework/src/org/apache/cordova/NativeToJsMessageQueue.java

-3
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,6 @@ public String popAndEncodeAsJs() {
205205
sb.append("}finally{");
206206
}
207207
}
208-
if (!willSendAllMessages) {
209-
sb.append("window.setTimeout(function(){cordova.require('cordova/plugin/android/polling').pollOnce();},0);");
210-
}
211208
for (int i = willSendAllMessages ? 1 : 0; i < numMessagesToSend; ++i) {
212209
sb.append('}');
213210
}

0 commit comments

Comments
 (0)