mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-03 20:53:08 +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) {
|
if (callback) {
|
||||||
/* restore thread state */
|
/* restore thread state */
|
||||||
PyEval_SaveThread();
|
PyEval_SaveThread();
|
||||||
PyThreadState_Swap(threadstate);
|
PyThreadState_Swap(current_threadstate);
|
||||||
}
|
}
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user