Skip to content

Commit ade01a2

Browse files
committed
gh-141786 Fix an incorrect condition
1 parent 36a6252 commit ade01a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/ceval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1408,7 +1408,7 @@ stop_tracing_and_jit(PyThreadState *tstate, _PyInterpreterFrame *frame)
14081408
// Likewise, we hold a strong reference to the executor containing this exit, so the exit is guaranteed
14091409
// to be valid to access.
14101410
if (err <= 0) {
1411-
if (exit->executor->vm_data.linked || exit->executor->vm_data.valid) {
1411+
if (exit->executor->vm_data.linked && exit->executor->vm_data.valid) {
14121412
exit->temperature = restart_backoff_counter(exit->temperature);
14131413
}
14141414
}

0 commit comments

Comments
 (0)