update user deletion
This commit is contained in:
parent
2f99a78230
commit
381ea159de
|
@ -1032,7 +1032,7 @@ namespace Emby.Server.Implementations
|
|||
((UserManager)UserManager).Initialize();
|
||||
}
|
||||
|
||||
protected virtual string PackageRuntime
|
||||
public virtual string PackageRuntime
|
||||
{
|
||||
get
|
||||
{
|
||||
|
|
|
@ -84,8 +84,8 @@ namespace Emby.Server.Implementations.HttpServer.SocketSharp
|
|||
|
||||
private void ProcessContext(HttpListenerContext context)
|
||||
{
|
||||
InitTask(context, _disposeCancellationToken);
|
||||
//Task.Run(() => InitTask(context, _disposeCancellationToken));
|
||||
//InitTask(context, _disposeCancellationToken);
|
||||
Task.Run(() => InitTask(context, _disposeCancellationToken));
|
||||
}
|
||||
|
||||
private Task InitTask(HttpListenerContext context, CancellationToken cancellationToken)
|
||||
|
|
|
@ -666,8 +666,7 @@ namespace Emby.Server.Implementations.Library
|
|||
|
||||
DeleteUserPolicy(user);
|
||||
|
||||
// Force this to be lazy loaded again
|
||||
Users = LoadUsers();
|
||||
Users = allUsers.Where(i => i.Id != user.Id).ToList();
|
||||
|
||||
OnUserDeleted(user);
|
||||
}
|
||||
|
|
|
@ -84,5 +84,7 @@ namespace MediaBrowser.Controller
|
|||
void LaunchUrl(string url);
|
||||
|
||||
void EnableLoopback(string appName);
|
||||
|
||||
string PackageRuntime { get; }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user