mirror of
https://github.com/servo/servo.git
synced 2025-08-17 11:25:35 +01:00
Auto merge of #10572 - Manishearth:and-now-his-watch-is-ended, r=asajeffrey
Replace watcher threads with panic handlers <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10572) <!-- Reviewable:end -->
This commit is contained in:
commit
ccfd768c4b
5 changed files with 116 additions and 54 deletions
|
@ -47,6 +47,7 @@ use compositing::windowing::WindowEvent;
|
|||
use servo::Browser;
|
||||
use std::env;
|
||||
use util::opts;
|
||||
use util::panicking;
|
||||
|
||||
mod input;
|
||||
mod window;
|
||||
|
@ -61,6 +62,8 @@ fn main() {
|
|||
// Parse the command line options and store them globally
|
||||
opts::from_cmdline_args(env::args().collect::<Vec<_>>().as_slice());
|
||||
|
||||
panicking::initiate_panic_hook();
|
||||
|
||||
let window = window::Window::new();
|
||||
|
||||
// Our wrapper around `Browser` that also implements some
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue