chore: on reinit user controller, reset listener for profile cache so it can be updated for new client (#3495)

This commit is contained in:
ggurdin 2025-07-18 13:04:05 -04:00 committed by GitHub
parent 880aff1b47
commit 4f1439ce04
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -186,6 +186,8 @@ class UserController extends BaseController {
_initializing = false;
initCompleter = Completer<void>();
_cachedProfile = null;
_profileListener?.cancel();
_profileListener = null;
}
/// Reinitializes the user's profile