Skip to content

Properly notify observers when window prevents close - #5701

Merged
zcbenz merged 1 commit into
electron:masterfrom
danhp:propagate-close
May 26, 2016
Merged

zcbenz merged 1 commit into
electron:masterfrom
danhp:propagate-close

Conversation

@danhp

@danhp danhp commented May 25, 2016

Copy link
Copy Markdown
Contributor

It used to somewhat work on OS X since we were just letting the system block the close. But the action was never passed back to relevant observers.
I don't know how to write the tests for this behaviour so I stopped here...

Closes #5680

@zcbenz

zcbenz commented May 26, 2016

Copy link
Copy Markdown
Contributor

👍

@zcbenz
zcbenz merged commit 20b09e9 into electron:master May 26, 2016
@danhp
danhp deleted the propagate-close branch May 26, 2016 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistent behavior between app.quit and un-closable BrowserWindow

2 participants