Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Fix #104: Avoid app termination unexpectedly on Linux #112

Merged
merged 2 commits into from
Nov 6, 2016

Conversation

yhatt
Copy link
Owner

@yhatt yhatt commented Nov 1, 2016

This PR would fix #104.

BrowserWindow.destory() in dialog callback function will terminate app unexpectedly on Linux. So it became to call it on main thread by using setTimeout(func, 0)

Fixes

  • Wrap triggers of internal command with setTimeout
  • Set cancelId as "Cancel" command (Fix behavior of Esc key)

yhatt added 2 commits November 1, 2016 02:17
- Wrap triggers of internal command with setTimeout
- Set cancelId as "Cancel" command
@yhatt yhatt merged commit 2369b73 into master Nov 6, 2016
@yhatt yhatt deleted the fix-cancel-confirmation branch November 6, 2016 09:32
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix Cancel Confirmation Dialog
1 participant