Fix memory leak introduced by last commit
This commit is contained in:
parent
8e760c4d8b
commit
233d21a30b
@ -119,8 +119,10 @@ public class EffExecuteStatement extends Effect {
|
|||||||
((Map<String, Object>) res).forEach((name, value) -> setVariable(e, name, value));
|
((Map<String, Object>) res).forEach((name, value) -> setVariable(e, name, value));
|
||||||
}
|
}
|
||||||
TriggerItem.walk(getNext(), e);
|
TriggerItem.walk(getNext(), e);
|
||||||
//let's try with this commented, as it may be not needed? let's test!
|
//the line below is required to prevent memory leaks
|
||||||
//Variables.removeLocals(e);
|
//no functionality difference notice with it being removed from my test, but the memory gets filled with leaks
|
||||||
|
//so it must be kept
|
||||||
|
Variables.removeLocals(e);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user