diff --git a/GLMakie/src/screen.jl b/GLMakie/src/screen.jl index 0bab3fd248e..2d2e730f218 100644 --- a/GLMakie/src/screen.jl +++ b/GLMakie/src/screen.jl @@ -322,7 +322,7 @@ function singleton_screen(debugging::Bool) if !isempty(SINGLETON_SCREEN) @debug("reusing singleton screen") screen = SINGLETON_SCREEN[1] - close(screen; reuse=false) + empty!(screen) else @debug("new singleton screen") # reuse=false, because we "manually" re-use the singleton screen!