I have a shinyapp taken in production with shinyproxy.
When user click sign out from shinyproxy i.e

I'd like to be able to trigger inside my app some brief computation, but OnStop or session$onSessionEnded() doesn't seem to work in this case, they work only when user close the browser tab.
Any idea? Thanks