chore: on reinit user controller, reset listener for profile cache so it can be updated for new client (#3495)
This commit is contained in:
parent
880aff1b47
commit
4f1439ce04
1 changed files with 2 additions and 0 deletions
|
|
@ -186,6 +186,8 @@ class UserController extends BaseController {
|
|||
_initializing = false;
|
||||
initCompleter = Completer<void>();
|
||||
_cachedProfile = null;
|
||||
_profileListener?.cancel();
|
||||
_profileListener = null;
|
||||
}
|
||||
|
||||
/// Reinitializes the user's profile
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue