davidanthoff / Electron.jl

Julia wrapper for Electron
Other
85 stars 19 forks source link

Cleanly exiting or quitting #97

Closed Immortalin closed 2 years ago

Immortalin commented 3 years ago

How do you exit or close the electron process? Exiting julia raises an error if the electron process is still running.

ettersi commented 3 years ago

I think this error arises as follows:

hhaensel commented 2 years ago

Closing the electron process is

app = Application()
close(app)

or

win = Window()
close(win.app)
Immortalin commented 2 years ago

Can we block Julia from exiting until Electron has cleanly closed?