mirror of
https://github.com/servo/servo.git
synced 2025-06-20 23:28:59 +01:00
Make window.close() close the window.
This commit is contained in:
parent
6c90dd54b2
commit
32ed715055
3 changed files with 6 additions and 0 deletions
|
@ -564,6 +564,7 @@ impl ScriptTask {
|
|||
}
|
||||
page.layout_chan.send(layout_interface::ExitMsg);
|
||||
}
|
||||
self.compositor.close();
|
||||
}
|
||||
|
||||
/// The entry point to document loading. Defines bindings, sets up the window and document
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue