From eec80f0e20bfb72be910b3d8a9bdd52c39b8083a Mon Sep 17 00:00:00 2001 From: J-N-K Date: Fri, 1 Apr 2022 22:56:27 +0200 Subject: [PATCH] Fix ScriptEngine not removed if created by ScriptAction (#2886) Signed-off-by: Jan N. Klug --- .../script/internal/handler/ScriptActionHandler.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/bundles/org.openhab.core.automation.module.script/src/main/java/org/openhab/core/automation/module/script/internal/handler/ScriptActionHandler.java b/bundles/org.openhab.core.automation.module.script/src/main/java/org/openhab/core/automation/module/script/internal/handler/ScriptActionHandler.java index 774833fe33..0ea27b747f 100644 --- a/bundles/org.openhab.core.automation.module.script/src/main/java/org/openhab/core/automation/module/script/internal/handler/ScriptActionHandler.java +++ b/bundles/org.openhab.core.automation.module.script/src/main/java/org/openhab/core/automation/module/script/internal/handler/ScriptActionHandler.java @@ -41,17 +41,13 @@ public class ScriptActionHandler extends AbstractScriptModuleHandler 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 execute(final Map context) { Map resultMap = new HashMap<>();