Update js.

This commit is contained in:
Ms2ger 2016-04-19 18:36:02 +02:00
parent a7c885706e
commit 12b922b67f
6 changed files with 43 additions and 88 deletions

View file

@ -240,7 +240,7 @@ impl DedicatedWorkerGlobalScope {
}
};
let runtime = new_rt_and_cx();
let runtime = unsafe { new_rt_and_cx() };
*main_thread_rt.lock().unwrap() = Some(SharedRt::new(&runtime));
let (devtools_mpsc_chan, devtools_mpsc_port) = channel();