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
Shiny app window doesn't fully close when terminated on the console, or closed manually #17502
RStudio Edition : Desktop
RStudio Version : RStudio 2024.12.1+563 "Kousa Dogwood" Release (27771613951643d8987af2b2fb0c752081a3a853, 2025-02-02) for Ubuntu Jammy
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) rstudio/2024.12.1+563 Chrome/126.0.6478.234 Electron/31.7.7 Safari/537.36, Quarto 1.5.57 (~/opt/quarto-1.5.57/bin/quarto)
OS Version : Ubuntu 22.04.5 LTS
R Version : 4.5.2
When attempting to close the shiny app, either with manually closing the window or terminating the app process inthe RStudio console, the application window never closes and appears greyed out:
This prevents any additional shiny app runs from opening in the session, requiring manual exit of RStudio to reset.
Describe the behavior you expected
Expected that the window would simply close, and re-running the app execution code:
Activity
ronblum commentedon May 1, 2026
@matt-sd-watson Thank you for raising the issue! This looks like a duplicate of #17439. Would you agree?
matt-sd-watson commentedon May 1, 2026
Hi @ronblum Yes this appears to be the same issue as #17439
ronblum commentedon May 4, 2026
@matt-sd-watson OK--I'll close this one as a duplicate of #17439, but I'll reference this issue as another example of the problem.
harden tests and polish from code review feedback
fix shiny app window becoming unclosable and orphaned (#17920)