Skip to content

Commit

Permalink
Merge pull request #28 from fun90/develop
Browse files Browse the repository at this point in the history
fix:Aviator内存泄漏问题
  • Loading branch information
somta authored Nov 1, 2024
2 parents e5be0f9 + 2e2ee37 commit 5b330e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public boolean executeExpression(String expression) {
if(StringUtils.isEmpty(expression)){
return true;
}
Expression compiledExp = aviatorEvaluatorInstance.compile(expression);
Expression compiledExp = aviatorEvaluatorInstance.compile(expression, true);
List<String> variableKeys = compiledExp.getVariableNames();
Map<String, Object> env = new HashMap<>(8);
for (String key : variableKeys){
Expand Down

0 comments on commit 5b330e9

Please sign in to comment.