mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
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:
commit
5f9097c0b4
1 changed files with 3 additions and 0 deletions
|
@ -228,6 +228,9 @@ impl Window {
|
|||
Event::Refresh => {
|
||||
self.event_queue.borrow_mut().push(WindowEvent::Refresh);
|
||||
}
|
||||
Event::Closed => {
|
||||
return true
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue