mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-02-08 23:45:19 +01:00
Check for null before disposing
This commit is contained in:
parent
37ff36226b
commit
d1fe28fac6
1 changed files with 1 additions and 1 deletions
|
|
@ -1803,7 +1803,7 @@ namespace Emby.Server.Implementations
|
|||
}
|
||||
|
||||
_userRepository?.Dispose();
|
||||
_displayPreferencesRepository.Dispose();
|
||||
_displayPreferencesRepository?.Dispose();
|
||||
}
|
||||
|
||||
_userRepository = null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue