Fix ScriptEngine not removed if created by ScriptAction (#2886)
Signed-off-by: Jan N. Klug <github@klug.nrw>pull/2878/head
parent
f0b53cea34
commit
eec80f0e20
|
@ -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<>();
|
||||
|
|
Loading…
Reference in New Issue