aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/workerglobalscope.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2017-10-19 10:15:44 -0400
committerJosh Matthews <josh@joshmatthews.net>2017-10-20 13:50:40 -0400
commitc075372739004ac8f9452755f060e2b8919ae61f (patch)
tree287430c4c22ab91d705ac73e4c1a292fe21b9c9f /components/script/dom/workerglobalscope.rs
parent07e9794306d597afe5d90d192fd32a99572c3cc3 (diff)
downloadservo-c075372739004ac8f9452755f060e2b8919ae61f.tar.gz
servo-c075372739004ac8f9452755f060e2b8919ae61f.zip
Do not trace Rust values when thread is shutting down.
Diffstat (limited to 'components/script/dom/workerglobalscope.rs')
-rw-r--r--components/script/dom/workerglobalscope.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/dom/workerglobalscope.rs b/components/script/dom/workerglobalscope.rs
index 760f879b37e..4ebfd67a486 100644
--- a/components/script/dom/workerglobalscope.rs
+++ b/components/script/dom/workerglobalscope.rs
@@ -29,10 +29,9 @@ use ipc_channel::ipc::IpcSender;
use js::jsapi::{HandleValue, JSAutoCompartment, JSContext, JSRuntime};
use js::jsval::UndefinedValue;
use js::panic::maybe_resume_unwind;
-use js::rust::Runtime;
use net_traits::{IpcSend, load_whole_resource};
use net_traits::request::{CredentialsMode, Destination, RequestInit as NetRequestInit, Type as RequestType};
-use script_runtime::{CommonScriptMsg, ScriptChan, ScriptPort, get_reports};
+use script_runtime::{CommonScriptMsg, ScriptChan, ScriptPort, get_reports, Runtime};
use script_traits::{TimerEvent, TimerEventId};
use script_traits::WorkerGlobalScopeInit;
use servo_url::{MutableOrigin, ServoUrl};