diff --git a/app/windowsInit.js b/app/windowsInit.js index 2be20b1b1de..966191efa5a 100644 --- a/app/windowsInit.js +++ b/app/windowsInit.js @@ -52,7 +52,7 @@ if (process.platform === 'win32') { spawnSync(getBraveDefaultsBinPath(), ['-uninstall']) } - if (shouldQuit) { + if (shouldQuit()) { process.exit(0) } }