fix context

This commit is contained in:
pavelbannov 2023-06-19 14:05:17 +03:00
parent 3d694ad5ae
commit e8071dbcc8
2 changed files with 2 additions and 4 deletions

View File

@ -67,6 +67,8 @@ public class RemovePortalOperation : DistributedTaskProgress
{
try
{
CustomSynchronizationContext.CreateContext();
_logger.DebugStartRemoveTenant(TenantId);
var tenant = _tenantManager.GetTenant(TenantId);

View File

@ -24,10 +24,6 @@
// content are licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
using ASC.EventBus.Abstractions;
using ASC.EventBus.Log;
using ASC.Web.Core.RemovePortal;
using ILogger = Microsoft.Extensions.Logging.ILogger;
namespace ASC.Web.Studio.IntegrationEvents;