Browse Source

fix(multitenancy): remove unnecessary using blocks

pull/492/head
cKey 4 years ago
parent
commit
bbd961a721
  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) protected virtual async Task RemoveCacheItemAsync(Guid tenantId, string tenantName = null)
{
using (_currentTenant.Change(null))
{ {
using (_currentTenant.Change(null)) using (_currentTenant.Change(null))
{ {
@ -95,4 +93,3 @@ public class TenantSynchronizer :
} }
} }
} }
}

Loading…
Cancel
Save