Make window.close() close the window.

This commit is contained in:
Josh Matthews 2013-08-28 15:47:11 -04:00
parent 6c90dd54b2
commit 32ed715055
3 changed files with 6 additions and 0 deletions

View file

@ -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