aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/timers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/timers.rs')
-rw-r--r--components/script/timers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/timers.rs b/components/script/timers.rs
index d1e6f69907c..a5e0c5bf312 100644
--- a/components/script/timers.rs
+++ b/components/script/timers.rs
@@ -148,7 +148,7 @@ impl TimerManager {
loop {
let id = select.wait();
if id == timeout_handle.id() {
- timeout_port.recv();
+ timeout_port.recv().unwrap();
script_chan.send(ScriptMsg::FireTimer(source, TimerId(handle)));
if is_interval == IsInterval::NonInterval {
break;