From fb878f33d1a15425c59f94ce5202010c5400f9ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Jim=C3=A9nez=20Moreno?= Date: Wed, 29 Mar 2017 20:34:37 +0200 Subject: Terminate timer scheduler thread during shutdown --- components/script/script_thread.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components/script/script_thread.rs') diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index 4399fb32630..87cf0920b5e 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -86,7 +86,7 @@ use script_traits::{CompositorEvent, ConstellationControlMsg}; use script_traits::{DocumentActivity, DiscardBrowsingContext, EventResult}; use script_traits::{InitialScriptState, LayoutMsg, LoadData, MouseButton, MouseEventType, MozBrowserEvent}; use script_traits::{NewLayoutInfo, ScriptMsg as ConstellationMsg}; -use script_traits::{ScriptThreadFactory, TimerEvent, TimerEventRequest, TimerSource}; +use script_traits::{ScriptThreadFactory, TimerEvent, TimerSchedulerMsg, TimerSource}; use script_traits::{TouchEventType, TouchId, UntrustedNodeAddress, WindowSizeData, WindowSizeType}; use script_traits::CompositorEvent::{KeyEvent, MouseButtonEvent, MouseMoveEvent, ResizeEvent}; use script_traits::CompositorEvent::{TouchEvent, TouchpadPressureEvent}; @@ -472,7 +472,7 @@ pub struct ScriptThread { /// List of pipelines that have been owned and closed by this script thread. closed_pipelines: DOMRefCell>, - scheduler_chan: IpcSender, + scheduler_chan: IpcSender, timer_event_chan: Sender, timer_event_port: Receiver, -- cgit v1.2.3