Skip to content

Shiny app window doesn't fully close when terminated on the console, or closed manually #17502

Closed as duplicate

Description

@matt-sd-watson

System details

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

Steps to reproduce the problem

The shiny app was created from the package in this repository: https://github.com/camlab-bioml/cytomarker

Run with:

devtools::load_all(); cytomarker()

Describe the problem in detail

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:

Image

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:

devtools::load_all(); cytomarker()

would open up a new window.

  • I have read the guide for submitting good bug reports.
  • I have installed the latest version of RStudio, and confirmed that the issue still persists.
  • If I am reporting an RStudio crash, I have included a diagnostics report.
  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

Activity

  1. added
    new
    on May 1, 2026
  2. ronblum commented on May 1, 2026

    @ronblum
    Contributor

    @matt-sd-watson Thank you for raising the issue! This looks like a duplicate of #17439. Would you agree?

  3. added
    info needed
    on May 1, 2026
  4. matt-sd-watson commented on May 1, 2026

    @matt-sd-watson
    Author

    Hi @ronblum Yes this appears to be the same issue as #17439

  5. added theissue type on May 3, 2026
  6. ronblum commented on May 4, 2026

    @ronblum
    Contributor

    @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.

  7. added and removed
    info needed
    new
    on May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions