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
In Streamlit, closing the browser tab does not automatically terminate the Streamlit process running in the background.
The server continues running until it is manually stopped (e.g., via Ctrl+C).
This issue aims to explore the possibility of terminating the process when all tabs are closed. This might be achievable using Streamlit's runtime with script_run_context.
On Windows, the web app is launched via a desktop shortcut, which triggers a .bat file to start the application. Ideally, the app should also close automatically when all tabs are closed so that users can relaunch it from the desktop shortcut as expected.