Further workaround to try to push node.js event loop forward (#1511)
FREEBIE
This commit is contained in:
parent
6323f598b5
commit
2d650bd627
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue