Merge pull request #9320 from MBR-0001/master

Fix NRE in DisposeAsyncCore
This commit is contained in:
Claus Vium 2023-02-15 21:59:24 +01:00 committed by GitHub
commit 3fe64f69b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1184,6 +1184,8 @@ namespace Emby.Server.Implementations
}
}
if (_sessionManager != null)
{
// used for closing websockets
foreach (var session in _sessionManager.Sessions)
{
@ -1192,3 +1194,4 @@ namespace Emby.Server.Implementations
}
}
}
}