Browse Source

Merge pull request #492 from colinin/remove-duplicate-using

fix(multitenancy): remove unnecessary using blocks
pull/497/head
yx lin 4 years ago
committed by GitHub
parent
commit
6a73aea865
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      aspnet-core/modules/tenants/LINGYUN.Abp.MultiTenancy.RemoteService/LINGYUN/Abp/MultiTenancy/RemoteService/EventBus/Distributed/TenantSynchronizer.cs

3
aspnet-core/modules/tenants/LINGYUN.Abp.MultiTenancy.RemoteService/LINGYUN/Abp/MultiTenancy/RemoteService/EventBus/Distributed/TenantSynchronizer.cs

@ -82,8 +82,6 @@ public class TenantSynchronizer :
}
protected virtual async Task RemoveCacheItemAsync(Guid tenantId, string tenantName = null)
{
using (_currentTenant.Change(null))
{
using (_currentTenant.Change(null))
{
@ -94,5 +92,4 @@ public class TenantSynchronizer :
}
}
}
}
}

Loading…
Cancel
Save