mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-23 17:22:51 +00: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…
Add table
Add a link
Reference in a new issue