Improvements to UserManager

This commit is contained in:
Bond_009
2019-06-09 22:08:01 +02:00
committed by Bond_009
parent 7a27dd8a1b
commit 8d3b5c851d
11 changed files with 240 additions and 277 deletions

View File

@@ -50,9 +50,7 @@ namespace Emby.Server.Implementations.EntryPoints
public async Task Execute(CancellationToken cancellationToken, IProgress<double> progress)
{
var users = _userManager.Users.ToList();
foreach (var user in users)
foreach (var user in _userManager.Users)
{
cancellationToken.ThrowIfCancellationRequested();