Skip to content

Commit

Permalink
Update precompile.jl
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
oheil authored Oct 20, 2024
1 parent b8efebf commit 2fd4712
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/precompile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ PrecompileTools.@compile_workload begin
randomhue()
textoutlines("snoopy", Point(10, 10), action=:path)
fillpath()
_reset_all_drawings()
end

0 comments on commit 2fd4712

Please sign in to comment.