Remove watcher threads; replace with more panic handler goodness

This commit is contained in:
Manish Goregaokar 2016-04-14 20:19:01 +05:30
parent d9ffefe562
commit f02fd6330f
No known key found for this signature in database
GPG key ID: 3BBF4D3E2EF79F98
5 changed files with 116 additions and 54 deletions

View file

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