diff --git a/src/init.jl b/src/init.jl index 4cc0ad9..f77cdf0 100644 --- a/src/init.jl +++ b/src/init.jl @@ -178,6 +178,9 @@ function __init__() end init_colormaps() + + # Ensure that the event loop is stopped when the Julia process exits + atexit(pygui_stop_all) end function pygui(b::Bool)