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

glutin: Close the window if the event stream is closed. #13983

Merged
merged 1 commit into from Oct 30, 2016

Conversation

@emilio
Copy link
Member

emilio commented Oct 30, 2016

Otherwise we can end up infinitely spinning for no good reason.

This happened today to me. Obviously the underlying situation is also buggy, but this seemed like a more sane behavior compared to infinitely spin waiting for a never-arriving event.

r? @glennw


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors

This change is Reviewable

Otherwise we can end up infinitely spinning for no good reason.
@notriddle
Copy link
Contributor

notriddle commented Oct 30, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Oct 30, 2016

📌 Commit f51f478 has been approved by notriddle

@bors-servo
Copy link
Contributor

bors-servo commented Oct 30, 2016

Testing commit f51f478 with merge 7e96f87...

bors-servo added a commit that referenced this pull request Oct 30, 2016
glutin: Close the window if the event stream is closed.

Otherwise we can end up infinitely spinning for no good reason.

This happened today to me. Obviously the underlying situation is also buggy, but this seemed like a more sane behavior compared to infinitely spin waiting for a never-arriving event.

r? @glennw

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13983)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 30, 2016

@bors-servo bors-servo merged commit f51f478 into servo:master Oct 30, 2016
2 of 3 checks passed
2 of 3 checks passed
continuous-integration/appveyor/pr AppVeyor build failed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@emilio emilio deleted the emilio:event branch Nov 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.