From: Kevin Sawicki Date: Thu, 4 Feb 2016 01:15:28 +0000 (-0800) Subject: Don't return anything from will-quit handler X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=adfa4844d1b1849b1b6ea7f2839fc037a5aba020;p=electron.git Don't return anything from will-quit handler --- diff --git a/atom/browser/lib/chrome-extension.js b/atom/browser/lib/chrome-extension.js index e396989b..fcbb8c7f 100644 --- a/atom/browser/lib/chrome-extension.js +++ b/atom/browser/lib/chrome-extension.js @@ -60,7 +60,7 @@ app.on('will-quit', function() { } catch (error) { // Ignore error } - return fs.writeFileSync(loadedExtensionsPath, JSON.stringify(loadedExtensions)); + fs.writeFileSync(loadedExtensionsPath, JSON.stringify(loadedExtensions)); } else { fs.unlinkSync(loadedExtensionsPath); }