mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-08 10:44:23 -04:00
Check for null before disposing
This commit is contained in:
parent
37ff36226b
commit
d1fe28fac6
@ -1803,7 +1803,7 @@ namespace Emby.Server.Implementations
|
|||||||
}
|
}
|
||||||
|
|
||||||
_userRepository?.Dispose();
|
_userRepository?.Dispose();
|
||||||
_displayPreferencesRepository.Dispose();
|
_displayPreferencesRepository?.Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
_userRepository = null;
|
_userRepository = null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user