Explorar o código

minor mobile fixes

Luke Pulverenti %!s(int64=11) %!d(string=hai) anos
pai
achega
2a5d4c9069
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      MediaBrowser.Server.Implementations/Library/UserManager.cs

+ 3 - 3
MediaBrowser.Server.Implementations/Library/UserManager.cs

@@ -352,10 +352,10 @@ namespace MediaBrowser.Server.Implementations.Library
                 }
             }
 
-            OnUserDeleted(user);
-
             // Force this to be lazy loaded again
-            Users = null;
+            Users = await LoadUsers().ConfigureAwait(false);
+
+            OnUserDeleted(user);
         }
 
         /// <summary>