Further workaround to try to push node.js event loop forward (#1511)

FREEBIE
pull/749/head
Scott Nonnenberg 8 years ago committed by GitHub
parent 6323f598b5
commit 2d650bd627

@ -39,5 +39,10 @@
window.nodeXMLHttpRequest = require("./js/XMLHttpRequest").XMLHttpRequest;
window.nodeWebSocket = require("websocket").w3cwebsocket;
// Linux seems to periodically let the event loop stop, so this is a global workaround
setInterval(function() {
setImmediate(function() {});
}, 1000);
window.EmojiConvertor = require('emoji-js');
})();

Loading…
Cancel
Save