From 5de3a1b36c55f78fbb50dc90f63132d08a2b4a0e Mon Sep 17 00:00:00 2001 From: Nick Sutterer Date: Sat, 25 Nov 2023 10:44:00 +0100 Subject: [PATCH] no need to pass `:exec_context` in `#call_with_public_interface`. --- lib/trailblazer/operation/public_call.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/trailblazer/operation/public_call.rb b/lib/trailblazer/operation/public_call.rb index b527373..5b2e840 100644 --- a/lib/trailblazer/operation/public_call.rb +++ b/lib/trailblazer/operation/public_call.rb @@ -41,8 +41,6 @@ def call_with_public_interface(options, flow_options, invoke_class: Activity::Ta signal, (ctx, flow_options) = invoke_class.invoke( self, [ctx, flow_options], - exec_context: new, # FIXME: this is overridden anyway in Activity - # wrap_static: initial_wrap_static, container_activity: Activity::TaskWrap.container_activity_for(self, wrap_static: initial_wrap_static) # we cannot make this static because of {self} unless we override {#inherited}. )