We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fc1a462 + 2becb34 commit 596a1b1Copy full SHA for 596a1b1
1 file changed
src/main/java/com/hubspot/jinjava/tree/Node.java
@@ -105,7 +105,7 @@ public void preProcess(JinjavaInterpreter interpreter) {
105
}
106
107
public final void checkForInterrupt() {
108
- if (Thread.interrupted()) {
+ if (Thread.currentThread().isInterrupted()) {
109
throw new InterpretException(
110
"Interrupt rendering " + getClass(),
111
master.getLineNumber(),
0 commit comments