diff --git a/src/main/java/org/myrobotlab/service/Runtime.java b/src/main/java/org/myrobotlab/service/Runtime.java index d8abae8ed5..c831f0ea0f 100644 --- a/src/main/java/org/myrobotlab/service/Runtime.java +++ b/src/main/java/org/myrobotlab/service/Runtime.java @@ -4294,8 +4294,7 @@ public Plan getLocalPlan() { */ static public void clearPlan() { Runtime runtime = Runtime.getInstance(); - // fixes concurrent modification - runtime.masterPlan = new Plan("runtime"); + runtime.masterPlan.clear(); runtime.masterPlan.put("runtime", new RuntimeConfig()); // unset config path runtime.configName = null;