Commit c81a6f7
committed
Fix inversion of only_active_thread when all_threads is set
`all_threads` and `only_active_thread` are mutually exclusive.
The non-free-threaded code path incorrectly passed
`only_active_thread=bool(all_threads)`, which inverted
the intended semantics.
Fix this by negating `all_threads`.
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>1 parent 23c3bcf commit c81a6f7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
0 commit comments