R/runapp.R
stopApp.Rd
Stops the currently running Shiny app, returning control to the caller of runApp().
runApp()
stopApp(returnValue = invisible())
The value that should be returned from runApp().