Do streamlit codes ever exit when deployed?

I’ve deployed my app on AWS Ec2 and used a Tmux session to keep it active. From what I understand, every time there’s a user, they are basically running an instance of code. Let’s say the code doesn’t exit because of some error, will that active thread stay in the memory after the user leaves? Does this mean we have make sure the code always exist with code 0 so there is no accumulation of threads in the memory?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.