From 91e644b9dae8906335ea2ac15a6cfe92e23d7a16 Mon Sep 17 00:00:00 2001 From: PeyaPeyaPeyang Date: Tue, 5 Dec 2023 17:35:26 +0900 Subject: [PATCH] fix(scenario-engine): Fix memory leak of world(context) --- .../kunlab/scenamatica/scenario/engine/ScenarioEngineImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/ScenamaticaScenarioEngine/src/main/java/org/kunlab/scenamatica/scenario/engine/ScenarioEngineImpl.java b/ScenamaticaScenarioEngine/src/main/java/org/kunlab/scenamatica/scenario/engine/ScenarioEngineImpl.java index c9ac117d7..92c7035ca 100644 --- a/ScenamaticaScenarioEngine/src/main/java/org/kunlab/scenamatica/scenario/engine/ScenarioEngineImpl.java +++ b/ScenamaticaScenarioEngine/src/main/java/org/kunlab/scenamatica/scenario/engine/ScenarioEngineImpl.java @@ -197,6 +197,7 @@ private void cleanUp() this.executor = null; this.ranBy = null; + this.context = null; this.state = ScenarioState.STAND_BY; }