From 01f8800dc47a1f8537dce318861e36ba27858345 Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 24 Jan 2024 12:46:17 +0100 Subject: [PATCH] Don't clear args, rely on delete deregister_callbacks (#3543) --- src/scenes.jl | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/scenes.jl b/src/scenes.jl index cf4a5b65b06..fe16c2d868a 100644 --- a/src/scenes.jl +++ b/src/scenes.jl @@ -467,9 +467,6 @@ function free(plot::AbstractPlot) for f in plot.deregister_callbacks Observables.off(f) end - for arg in plot.args - Observables.clear(arg) - end foreach(free, plot.plots) empty!(plot.plots) empty!(plot.deregister_callbacks)