workbenchapp / solana-workbench

Your one-stop shop for developing on Solana
MIT License
63 stars 7 forks source link

local validator doesn't gracefully shut down on app close #287

Open SvenDowideit opened 2 years ago

SvenDowideit commented 2 years ago

I'd love to have an "would you like to Stop (or delete) the Solana Validator container" popup dialog before the electron window closes, with buttons for Stop, Stop&Delete, LeaveRunning, DontExitIveChangedMyMind, and TellMeMore

sammanadh commented 2 years ago

hey @SvenDowideit, by "Stop&Delete" you mean remove the container or delete the entire image?

sammanadh commented 2 years ago

ohhhh. it must mean remove the container right. cause there one button for that in validator page.

SvenDowideit commented 2 years ago

yup, you got it :) - its actually detecting the close event, preventing it, and asking questions that looked to be challenging when I had a quick look :)