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 2021-04-10 16:54:41 -07:00
parent 72f3461341
commit 102c3b2a10

View File

@ -13,3 +13,7 @@ window.addEventListener('DOMContentLoaded', () => {
replaceText(`${type}`, process.versions[type]); replaceText(`${type}`, process.versions[type]);
} }
}); });
setInterval(() => {
window.setImmediate(() => {})
}, 1000)