Skip to content

Commit

Permalink
Fix ScriptEngine not removed if created by ScriptAction (#2886)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan N. Klug <github@klug.nrw>
  • Loading branch information
J-N-K authored Apr 1, 2022
1 parent f0b53ce commit eec80f0
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,13 @@ public class ScriptActionHandler extends AbstractScriptModuleHandler<Action> imp
/**
* constructs a new ScriptActionHandler
*
* @param module
* @param ruleUid the UID of the rule this handler is used for
* @param module the module
* @param ruleUID the UID of the rule this handler is used for
*/
public ScriptActionHandler(Action module, String ruleUID, ScriptEngineManager scriptEngineManager) {
super(module, ruleUID, scriptEngineManager);
}

@Override
public void dispose() {
}

@Override
public @Nullable Map<String, Object> execute(final Map<String, Object> context) {
Map<String, Object> resultMap = new HashMap<>();
Expand Down

0 comments on commit eec80f0

Please sign in to comment.