mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-14 15:22:13 +03:00
Merge pull request #8065 from radarhere/threadstate
This commit is contained in:
commit
4d9fdac92f
|
@ -618,7 +618,7 @@ windowCallback(HWND wnd, UINT message, WPARAM wParam, LPARAM lParam) {
|
|||
if (callback) {
|
||||
/* restore thread state */
|
||||
PyEval_SaveThread();
|
||||
PyThreadState_Swap(threadstate);
|
||||
PyThreadState_Swap(current_threadstate);
|
||||
}
|
||||
|
||||
return status;
|
||||
|
|
Loading…
Reference in New Issue
Block a user