Skip to content

Document that stopApp() may cause issues when running apps with multiple sessions connected #4353

@pyltime

Description

@pyltime

If you are running an a Shiny app that has multiple sessions connected to it (say, because you're running it on Posit Connect or a similar environment), calling stopApp() will stop all user sessions. This is mentioned in the Community post here: https://forum.posit.co/t/shiny-app-disconnecting-when-using-stopapp-in-onsessionended/28213/2
but it would be great to mention this in the documentation for stopApp() itself so it's clear that this may cause problems depending on where and how the app is running.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions