diff --git a/src/DynamoCoreWpf/ViewModels/PackageManager/PackageManagerClientViewModel.cs b/src/DynamoCoreWpf/ViewModels/PackageManager/PackageManagerClientViewModel.cs index d6935ae0af8..8ed18623df7 100644 --- a/src/DynamoCoreWpf/ViewModels/PackageManager/PackageManagerClientViewModel.cs +++ b/src/DynamoCoreWpf/ViewModels/PackageManager/PackageManagerClientViewModel.cs @@ -477,12 +477,8 @@ public List ListAll() { CachedPackageList = new List(); - // Attempt to load user votes prior to using it - if (AuthenticationManager.LoginState.Equals(LoginState.LoggedIn) && Uservotes == null) - { - Task.Run(() => this.Uservotes = this.Model.UserVotes()); - } - + // Calls to Model.UserVotes and Model.ListAll might take a long time to run (so do not use them syncronously in the UI thread) + Uservotes = this.Model.UserVotes(); foreach (var header in Model.ListAll()) { var ele = new PackageManagerSearchElement(header);