Skip to content

Commit

Permalink
Fix StaticAnalysis persisting over cmdline environment clear
Browse files Browse the repository at this point in the history
Pieter12345 committed Mar 25, 2024
1 parent f0bd0ba commit 017c0dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/laytonsmith/tools/Interpreter.java
Original file line number Diff line number Diff line change
@@ -747,6 +747,7 @@ public void execute(String script, List<String> args, File fromFile) throws Conf
}
env.getEnv(StaticRuntimeEnv.class).getExecutionQueue().stopAll();
env.getEnv(StaticRuntimeEnv.class).getIncludeCache().clear();
staticAnalysis = new StaticAnalysis(true);
return;
}
if(fromFile == null) {

0 comments on commit 017c0dd

Please sign in to comment.