Making app robust - User closing app during a workflow

So, what happens if your workflow is running and the user terminates the app? Are there any good guides for how to take this into account in your programming?

I know if you have a scheduled API running it doesn’t affect anything, but I’m wondering how robust bubble’s processes are or aren’t on the client side.