JuliaGizmos / Blink.jl

Web-based GUIs for Julia
Other
355 stars 74 forks source link

add option to close server and end electron process #318

Closed alexriss closed 6 months ago

alexriss commented 6 months ago

Fixes https://github.com/JuliaGizmos/Blink.jl/issues/317.

Added a new keyword argument to the close(win) function. Now, close(win, quit=true) shuts down the Mux/HTTP server and also closes the shell socket connection, allowing the electron process to shut down cleanly.