You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Question] Call app.quit() in Electron but process sticks around #12189
luke-webdev I am not sure we thought about this case, so it could totally be that you have to call electronApplication.close() after you app.quit in your test. Perhaps we should fix that.
I met same problem. I found when I spawn a background process and that will lead app.quit() timeout. the background process holds the debugging server event if the electron main process ended.
Activity
dgozman commentedon Feb 17, 2022
luke-webdev I am not sure we thought about this case, so it could totally be that you have to call
electronApplication.close()after youapp.quitin your test. Perhaps we should fix that.mrchaofan commentedon Mar 10, 2022
I met same problem. I found when I spawn a background process and that will lead app.quit() timeout. the background process holds the debugging server event if the electron main process ended.
pavelfeldman commentedon Apr 5, 2022
Fixed in 8232497
improve: use app.quit() for graceful Electron shutdown before close