Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Commit

Permalink
Destroy RPC only if its enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Mixaz017 committed Nov 27, 2020
1 parent 8c847e1 commit 8c5eafa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main.js
Expand Up @@ -407,4 +407,4 @@ app.once('ready', () => {
initSplashWindow()
})

app.on('quit', () => rpc.destroy())
app.on('quit', () => { if (isRPCEnabled) { rpc.destroy() } })

0 comments on commit 8c5eafa

Please sign in to comment.