In Electron App,app.quit()&&ap.exit(0) can not teminate the process,how to deal with this?
<p><strong>my computer is mac, <code>Cmd+Q</code>can not quit the electron app! why? What should I do?</strong>
<a href="https://i.stack.imgur.com/99j9x.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/99j9x.jpg" alt="enter image description here"></a></p>

<p><a href="https://i.stack.imgur.com/0bztZ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0bztZ.jpg" alt="enter image description here"></a></p>

<p><a href="https://i.stack.imgur.com/XI3dq.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XI3dq.jpg" alt="enter image description here"></a></p>