Execute UserChanged synchronously
- Ensures that ProfileManager is at correct state after callers invoke ChangeCloudSyncStatus - otherwise RunOnIdle invokes late and ProfileManager.Instance will remain on previous user for and indeterminate amount of time
This commit is contained in:
parent
37a119aaa7
commit
7b578ac098
2 changed files with 8 additions and 4 deletions
|
|
@ -1870,7 +1870,7 @@ namespace MatterHackers.MatterControl
|
|||
AuthenticationData.Instance.LastSessionUsername = AuthenticationData.Instance.ActiveSessionUsername;
|
||||
}
|
||||
|
||||
UiThread.RunOnIdle(this.UserChanged);
|
||||
this.UserChanged();
|
||||
}
|
||||
|
||||
// Called after every startup and at the completion of every authentication change
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue