Skip to content

Commit b78e273

Browse files
committed
Fix Mac OSX backend threading issues, issue #5251
1 parent f184f2d commit b78e273

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/_macosx.m

+2
Original file line numberDiff line numberDiff line change
@@ -6049,7 +6049,9 @@ - (int)index
60496049
[window orderFront:nil];
60506050
}
60516051
[pool release];
6052+
Py_BEGIN_ALLOW_THREADS
60526053
[NSApp run];
6054+
Py_END_ALLOW_THREADS
60536055
Py_INCREF(Py_None);
60546056
return Py_None;
60556057
}

0 commit comments

Comments
 (0)