diff options
author | Josh Matthews <josh@joshmatthews.net> | 2017-10-19 10:15:44 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2017-10-20 13:50:40 -0400 |
commit | c075372739004ac8f9452755f060e2b8919ae61f (patch) | |
tree | 287430c4c22ab91d705ac73e4c1a292fe21b9c9f /components/script/dom/worklet.rs | |
parent | 07e9794306d597afe5d90d192fd32a99572c3cc3 (diff) | |
download | servo-c075372739004ac8f9452755f060e2b8919ae61f.tar.gz servo-c075372739004ac8f9452755f060e2b8919ae61f.zip |
Do not trace Rust values when thread is shutting down.
Diffstat (limited to 'components/script/dom/worklet.rs')
-rw-r--r-- | components/script/dom/worklet.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/worklet.rs b/components/script/dom/worklet.rs index 7a608a189e1..ca48ec08fe8 100644 --- a/components/script/dom/worklet.rs +++ b/components/script/dom/worklet.rs @@ -37,7 +37,6 @@ use js::jsapi::JSGCParamKey; use js::jsapi::JSTracer; use js::jsapi::JS_GC; use js::jsapi::JS_GetGCParameter; -use js::rust::Runtime; use msg::constellation_msg::PipelineId; use net_traits::IpcSend; use net_traits::load_whole_resource; @@ -46,6 +45,7 @@ use net_traits::request::RequestInit; use net_traits::request::RequestMode; use net_traits::request::Type as RequestType; use script_runtime::CommonScriptMsg; +use script_runtime::Runtime; use script_runtime::ScriptThreadEventCategory; use script_runtime::new_rt_and_cx; use script_thread::{MainThreadScriptMsg, ScriptThread}; |