mirror of https://github.com/jellyfin/jellyfin.git
Merge pull request #9320 from MBR-0001/master
Fix NRE in DisposeAsyncCore
This commit is contained in:
commit
3fe64f69b7
|
@ -1184,6 +1184,8 @@ namespace Emby.Server.Implementations
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (_sessionManager != null)
|
||||||
|
{
|
||||||
// used for closing websockets
|
// used for closing websockets
|
||||||
foreach (var session in _sessionManager.Sessions)
|
foreach (var session in _sessionManager.Sessions)
|
||||||
{
|
{
|
||||||
|
@ -1191,4 +1193,5 @@ namespace Emby.Server.Implementations
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue