Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a possible crash if opening a window during shutdown #1107

Merged
merged 3 commits into from Jun 16, 2020

Conversation

andydotxyz
Copy link
Member

This may not be the desired solution as it commits to close as soon as there are no windows.
A future change could address #467 to add a veto-close function.

This is not a behavior change to address the underlying, merely fixes the crash caused.

Fixes #1106

Checklist:

  • Tests included. <- try to add and show a window in your first window's OnClosed
  • Lint and formatter run with no errors.
  • Tests all pass.

andydotxyz and others added 2 commits June 15, 2020 14:10
This may not be the desired solution as it commits to close as soon as there are no windows.
A future change could address fyne-io#467 to add a veto-close function.
@okratitan okratitan self-requested a review June 16, 2020 16:09
@andydotxyz andydotxyz merged commit 49f5fbb into fyne-io:develop Jun 16, 2020
@andydotxyz andydotxyz mentioned this pull request Jun 25, 2020
3 tasks
@andydotxyz andydotxyz deleted the fix/1106 branch June 28, 2020 18:39
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.

None yet

2 participants