i use in the activity (which is disposable as well), which throws an exception
public class SomeActivity : BackgroundActivity, IDisposable
{
public SomeActivity(IDisposableService service)
{
}
public override ExecuteActivity()
{
throw new Exception("Porebrik");
}
...
}
In this case Dispose is not called in the service instance.
Hi!
Given a disposable transient service:
added to the flow
i use in the activity (which is disposable as well), which throws an exception
In this case Dispose is not called in the service instance.