Merge pull request #162 from feross/osx-dock

Fix Exception when dropping .torrent file onto Dock icon when app is closed
This commit is contained in:
Feross Aboukhadijeh
2016-03-19 16:09:32 -07:00
7 changed files with 35 additions and 18 deletions

View File

@@ -256,6 +256,8 @@ function jumpToTime (time) {
}
function setupIpc () {
ipcRenderer.send('ipcReady')
ipcRenderer.on('dispatch', function (e, action, ...args) {
dispatch(action, ...args)
})