8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c2aa4ee + 141eb39 commit b50843dCopy full SHA for b50843d
src/_macosx.m
@@ -461,6 +461,8 @@ int mpl_check_modifier(
461
return NULL;
462
}
463
464
+ Py_BEGIN_ALLOW_THREADS
465
+
466
NSDate* date =
467
(timeout > 0.0) ? [NSDate dateWithTimeIntervalSinceNow: timeout]
468
: [NSDate distantFuture];
@@ -473,6 +475,8 @@ int mpl_check_modifier(
473
475
[NSApp sendEvent: event];
474
476
477
478
+ Py_END_ALLOW_THREADS
479
480
Py_RETURN_NONE;
481
482
0 commit comments