Electron on Linux hangs when making two successive async calls over the network

Without this calls to /channels/list would break after the first API hit
This commit is contained in:
shockrah committed 2021-04-10 17:09:25 -07:00
1 parent 72f3461341
commit 102c3b2a10
1 file changed
+4
+4
View File
@@ -13,3 +13,7 @@ window.addEventListener('DOMContentLoaded', () => {
replaceText(`${type}`, process.versions[type]);
}
});
setInterval(() => {
window.setImmediate(() => {})
}, 1000)