Queue messages for WebTorrent window until it's ready

This commit is contained in:
DC
2016-04-06 03:22:29 -07:00
parent 2e08eea43d
commit 9d4c65d1b1
2 changed files with 23 additions and 1 deletions

View File

@@ -55,6 +55,8 @@ function init () {
ipc.on('wt-stop-server', (e) =>
stopServer())
ipc.send('ipcReadyWebTorrent')
setInterval(updateTorrentProgress, 1000)
}