diff --git a/Project.toml b/Project.toml index 50d87fd..61215e7 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "JolinPluto" uuid = "5b0b4ef8-f4e6-4363-b674-3f031f7b9530" authors = ["Stephan Sahm and contributors"] -version = "0.1.57" +version = "0.1.58" [deps] AbstractPlutoDingetjes = "6e696c72-6542-2067-7265-42206c756150" diff --git a/ext/PythonExt.jl b/ext/PythonExt.jl index 31034a0..1732d04 100644 --- a/ext/PythonExt.jl +++ b/ext/PythonExt.jl @@ -20,7 +20,7 @@ function JolinPluto.start_python_thread(func) if !JolinPluto.is_running_in_pluto_process() # just start a plain thread without cleanup stop_event = threading.Event() - threading.Thread(target=func, args=(stop_event,)).start() + threading.Thread(target=func, daemon=true, args=(stop_event,)).start() return stop_event end