mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Store microtask queues in Rc<T>
This commit is contained in:
parent
fe29037e89
commit
7f9f95b7ce
3 changed files with 10 additions and 5 deletions
|
@ -91,7 +91,9 @@ pub struct WorkerGlobalScope {
|
|||
/// `IpcSender` doesn't exist
|
||||
from_devtools_receiver: Receiver<DevtoolScriptControlMsg>,
|
||||
|
||||
microtask_queue: MicrotaskQueue,
|
||||
/// https://html.spec.whatwg.org/multipage/#microtask-queue
|
||||
#[ignore_heap_size_of = "Rc<T> is hard"]
|
||||
microtask_queue: Rc<MicrotaskQueue>,
|
||||
|
||||
navigation_start_precise: f64,
|
||||
performance: MutNullableJS<Performance>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue