Skip to content

Commit 0f60fe6

Browse files
committed
Merge pull request #5304 from nils-werner/fix-macosx-threading
Prelimiary fix for Mac OSX backend threading issues
1 parent 921aa41 commit 0f60fe6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/_macosx.m

Lines changed: 2 additions & 0 deletions
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)