<ul dir="auto">
<li>Electron version: 1.3.5</li>
<li>Operating system: macOS 10.11</li>
</ul>
<p dir="auto">I noticed that Electron always returns <code class="notranslate">NSTerminateCancel</code> from <code class="notranslate">applicationShouldTerminate</code> and then exits manually.<br>
Maybe it should use <code class="notranslate">NSTerminateLater</code> and then <code class="notranslate">replyToApplicationShouldTerminate</code>?</p>
<p dir="auto">I think this is why when rebooting sometimes, you briefly get an "Atom interrupted the computer from restarting" (or whatever that thing says), but this is pure speculation.</p>
<p dir="auto">This is a side effect of <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/electron/electron/commit/b994ae8174837b0accc3bc1d4655283eb461ec9a/hovercard" href="https://github.com/electron/electron/commit/b994ae8174837b0accc3bc1d4655283eb461ec9a"><tt>b994ae8</tt></a>.</p>