migueldeicaza/SwiftTermApp

Session termination ideas

Closed this issue · 0 comments

The new session code terminates the session as soon as the last terminal is closed.

The question is whether this is desirable or not.

Closing the session right away ensures that a user can close the last terminal, and be guaranteed a fresh session, which acts as a good way of shaking out whatever bad state might be accumulated.

The downside is that it will trigger the authentication flow again.