mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Bump rust-mozjs for the safe Runtime::new (fixes #11512)
This commit is contained in:
parent
3eb9403b4d
commit
88f8a22269
5 changed files with 8 additions and 6 deletions
|
@ -240,7 +240,7 @@ impl DedicatedWorkerGlobalScope {
|
|||
}
|
||||
};
|
||||
|
||||
let runtime = unsafe { new_rt_and_cx(parent_rt.rt()) };
|
||||
let runtime = unsafe { new_rt_and_cx() };
|
||||
*worker_rt_for_mainthread.lock().unwrap() = Some(SharedRt::new(&runtime));
|
||||
|
||||
let (devtools_mpsc_chan, devtools_mpsc_port) = channel();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue