summaryrefslogtreecommitdiff
path: root/elements
diff options
context:
space:
mode:
Diffstat (limited to 'elements')
-rwxr-xr-xelements/timer.ml2
1 files changed, 0 insertions, 2 deletions
diff --git a/elements/timer.ml b/elements/timer.ml
index 0a75e12..bd676fd 100755
--- a/elements/timer.ml
+++ b/elements/timer.ml
@@ -24,7 +24,6 @@ let start
let {id; send; _} = t in
t.counter <- Time.counter ();
-
Brr.G.stop_timer id;
let timer_id = Brr.G.set_interval
~ms:(int_of_float @@ d *. 1000.)
@@ -33,7 +32,6 @@ let start
let span = Time.counter_value t.counter in
t.counter <- Time.counter ();
send span) in
- ignore @@ Brr.G.set_timeout ~ms:0 (fun () -> send 0.);
t.id <- timer_id