diff --git a/src/core/clock.ml b/src/core/clock.ml index dd236092a6..762c125416 100644 --- a/src/core/clock.ml +++ b/src/core/clock.ml @@ -284,7 +284,8 @@ let unify = let () = Lifecycle.before_core_shutdown ~name:"Clocks stop" (fun () -> Atomic.set global_stop true; - Queue.iter active_clocks stop) + Queue.iter active_clocks stop; + WeakQueue.iter passive_clocks stop) let _animated_sources { outputs; active_sources } = Queue.elements outputs @ WeakQueue.elements active_sources