Browse Source

Merge pull request #23554 from abpframework/auto-merge/rel-9-3/3943

Merge branch dev with rel-9.3
pull/23558/head
Ma Liming 6 months ago
committed by GitHub
parent
commit
7eb46fee8f
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/EventBusBase.cs

4
framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/EventBusBase.cs

@ -7,8 +7,10 @@ using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.Collections;
using Volo.Abp.DynamicProxy;
using Volo.Abp.EventBus.Distributed;
using Volo.Abp.MultiTenancy;
using Volo.Abp.Reflection;
using Volo.Abp.Uow;
namespace Volo.Abp.EventBus;
@ -203,7 +205,7 @@ public abstract class EventBusBase : IEventBus
{
try
{
var handlerType = eventHandlerWrapper.EventHandler.GetType();
var handlerType = ProxyHelper.GetUnProxiedType(eventHandlerWrapper.EventHandler);
if (inboxConfig?.HandlerSelector != null &&
!inboxConfig.HandlerSelector(handlerType))

Loading…
Cancel
Save