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:
@@ -256,6 +256,8 @@ function jumpToTime (time) {
|
||||
}
|
||||
|
||||
function setupIpc () {
|
||||
ipcRenderer.send('ipcReady')
|
||||
|
||||
ipcRenderer.on('dispatch', function (e, action, ...args) {
|
||||
dispatch(action, ...args)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user