Clean up arguments added to stack after CallDecl engine call

This commit is contained in:
Devyn Cairns 2024-07-27 04:53:44 -07:00
parent 53fbf62493
commit a36a058a68
No known key found for this signature in database

View File

@ -257,12 +257,9 @@ impl<'a> PluginExecutionContext for PluginExecutionCommandContext<'a> {
} }
} }
decl.run( call_builder.with(stack, |stack, call| {
&self.engine_state, decl.run(&self.engine_state, stack, call, input)
stack, })
&(&call_builder.finish()).into(),
input,
)
} }
fn boxed(&self) -> Box<dyn PluginExecutionContext + 'static> { fn boxed(&self) -> Box<dyn PluginExecutionContext + 'static> {