浏览代码

Fix UserNotFoundError

Bond_009 5 年之前
父节点
当前提交
24fac4b191
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Emby.Server.Implementations/Library/UserManager.cs

+ 1 - 0
Emby.Server.Implementations/Library/UserManager.cs

@@ -558,6 +558,7 @@ namespace Emby.Server.Implementations.Library
             {
                 _users = new ConcurrentDictionary<Guid, User>(
                     users.Select(x => new KeyValuePair<Guid, User>(x.Id, x)));
+                return;
             }
 
             var defaultName = Environment.UserName;