Commit 6872b219 by Sebastián Katzer

Make sendJavascript synchronized

parent 30ef6817
......@@ -460,7 +460,7 @@ public class LocalNotification extends CordovaPlugin {
* @param js
* JS code snippet as string
*/
private static void sendJavascript(final String js) {
private static synchronized void sendJavascript(final String js) {
if (!deviceready) {
eventQueue.add(js);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment