Skip to content

Commit

Permalink
Make IProcessEventHandlerDelegator transient to avoid lifetime surpri…
Browse files Browse the repository at this point in the history
…ses in downstream services (#735)
  • Loading branch information
martinothamar authored Aug 26, 2024
1 parent 1a630c9 commit 12bd453
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ private static void AddProcessServices(IServiceCollection services)
services.TryAddTransient<IProcessEngine, ProcessEngine>();
services.TryAddTransient<IProcessNavigator, ProcessNavigator>();
services.TryAddSingleton<IProcessReader, ProcessReader>();
services.TryAddSingleton<IProcessEventHandlerDelegator, ProcessEventHandlingDelegator>();
services.TryAddTransient<IProcessEventHandlerDelegator, ProcessEventHandlingDelegator>();
services.TryAddTransient<IProcessEventDispatcher, ProcessEventDispatcher>();
services.AddTransient<IProcessExclusiveGateway, ExpressionsExclusiveGateway>();
services.TryAddTransient<ExclusiveGatewayFactory>();
Expand Down

0 comments on commit 12bd453

Please sign in to comment.