Auto merge of #7368 - mbrubeck:closed, r=jdm

Quit when the glutin window closes

Fixes a regression from #7096.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7368)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-08-26 06:32:27 -06:00
commit 5f9097c0b4

View file

@ -228,6 +228,9 @@ impl Window {
Event::Refresh => {
self.event_queue.borrow_mut().push(WindowEvent::Refresh);
}
Event::Closed => {
return true
}
_ => {}
}