seesharper / LightInject.Interception

LightInject.Interception supports Aspect Oriented Programming through proxy-based method interceptors.
11 stars 7 forks source link

Async interceptor calls target method twice bug #8

Closed eugene-chehovskoy closed 8 years ago

eugene-chehovskoy commented 8 years ago

Hi,

I've noticed that asynchronous interceptor (AsyncInterceptor) calls target method twice even if it doesn't have any implementation:

internal class LoggingInterceptor : AsyncInterceptor
{
}

Regular interceptor (IInterceptor) does't have this problem.

seesharper commented 8 years ago

LightInject.Interception v1.2.1 has been published to NuGet

seesharper commented 8 years ago

Can you confirm that this is working as expected now?

eugene-chehovskoy commented 8 years ago

Yes, everything works fine. Thank you very much!