Logout Issues
Logout Issues
Before describing the logout issues, let’s define two concepts:
- logout: Clicking the logout button to exit robrix by interacting with matrix
- shut down: Clicking x to exit the robrix processS
The Earliest ‘Dead-Pool’ Issue in Logout
https://github.com/project-robius/robrix/pull/432#discussion\_r2171202111
The commit hash at that time was e1f80ea
The key code was as follows:
1 | /// Logs out the current user and prepares the application for a new login session. |
The operations that triggered the panic were:
- Desktop mode open multiple rooms.
- Switch to mobile.
- Logout in mobile.
- Enlarge the window large enough for desktop.
- Login again.
- (panic)
At that time, two issues were identified: