diff options
| author | Bond_009 <Bond.009@outlook.com> | 2020-03-24 16:12:06 +0100 |
|---|---|---|
| committer | Bond_009 <Bond.009@outlook.com> | 2020-03-24 16:12:06 +0100 |
| commit | e9d1eabd53105ae15bca08f5722bbaa0bfa49758 (patch) | |
| tree | e0b7c537f2b55c817f02fd3dc8ae2e43e49ee3c6 /Emby.Server.Implementations/Library/UserManager.cs | |
| parent | da4855ce4f590d7dc60b81bbf841e58f9220aac3 (diff) | |
Remove unused usings
Diffstat (limited to 'Emby.Server.Implementations/Library/UserManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Library/UserManager.cs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Emby.Server.Implementations/Library/UserManager.cs b/Emby.Server.Implementations/Library/UserManager.cs index 25d733a65..7b17cc913 100644 --- a/Emby.Server.Implementations/Library/UserManager.cs +++ b/Emby.Server.Implementations/Library/UserManager.cs @@ -805,17 +805,17 @@ namespace Emby.Server.Implementations.Library // Delete user config dir lock (_configSyncLock) - lock (_policySyncLock) - { - try - { - Directory.Delete(user.ConfigurationDirectoryPath, true); - } - catch (IOException ex) + lock (_policySyncLock) { - _logger.LogError(ex, "Error deleting user config dir: {Path}", user.ConfigurationDirectoryPath); + try + { + Directory.Delete(user.ConfigurationDirectoryPath, true); + } + catch (IOException ex) + { + _logger.LogError(ex, "Error deleting user config dir: {Path}", user.ConfigurationDirectoryPath); + } } - } _users.TryRemove(user.Id, out _); |
