Skip to content

Conversation

@radarhere
Copy link
Member

https://github.com/python-pillow/Pillow/actions/runs/9108593264/job/25039692144#step:5:225

src/display.c: In function 'windowCallback':
src/display.c:508:20: warning: variable 'current_threadstate' set but not used [-Wunused-but-set-variable]
508 | PyThreadState *current_threadstate;
| ^~~~~~~~~~~~~~~~~~~

Looking at windowCallback(), I think this should be used at the end of the function to restore the original thread state.

@hugovk hugovk merged commit 4d9fdac into python-pillow:main Jun 25, 2024
@radarhere radarhere deleted the threadstate branch June 25, 2024 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants