Fix ScriptEngine not removed if created by ScriptAction (#2886)

Signed-off-by: Jan N. Klug <github@klug.nrw>
pull/2878/head
J-N-K 2022-04-01 22:56:27 +02:00 committed by GitHub
parent f0b53cea34
commit eec80f0e20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 6 deletions

View File

@ -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<>();