mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-02 13:15:25 -04:00
Fix NRE in DisposeAsyncCore
This commit is contained in:
parent
87b2bc5dc4
commit
c338aa7cb5
@ -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)
|
||||||
{
|
{
|
||||||
@ -1192,3 +1194,4 @@ namespace Emby.Server.Implementations
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user