mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
properly shutdown dedicated workers when the owning scope shuts-down
This commit is contained in:
parent
5174739244
commit
6f34b52e39
3 changed files with 13 additions and 3 deletions
|
@ -460,6 +460,7 @@ impl DedicatedWorkerGlobalScope {
|
|||
parent_sender,
|
||||
CommonScriptMsg::CollectReports,
|
||||
);
|
||||
scope.clear_js_runtime();
|
||||
})
|
||||
.expect("Thread spawning failed")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue