When developing and testing Shiny apps, I've noticed that if I forget and close the RStudio-created shiny app window, R will hang, requiring terminating and restarting R.
This doesn't happen if I actually remember to go to the RStudio app and click the red stop button. But, that's a hassle, because I'm testing the App, so the App window is where my focus is.
Would it be possible to have R terminate more gracefully if the Shiny app window is closed?