From 2fd4712d08c36fd39b054835855dd992fc4e0629 Mon Sep 17 00:00:00 2001 From: oheil Date: Sun, 20 Oct 2024 18:46:57 +0200 Subject: [PATCH] Update precompile.jl fix #321 The issue are some Cairo remnants from the precompile step, called when using Luxor. I do not understand the exact details, because I don't want to delve deeper into precompile. Somehow it seems that I knew something when implementing things, because function _reset_all_drawings() exist, which, if called as last command in precompile.jl, resolves the issue. --- src/precompile.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/precompile.jl b/src/precompile.jl index 189b0a7b..443ea6ce 100644 --- a/src/precompile.jl +++ b/src/precompile.jl @@ -21,4 +21,5 @@ PrecompileTools.@compile_workload begin randomhue() textoutlines("snoopy", Point(10, 10), action=:path) fillpath() + _reset_all_drawings() end