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 d6d9e9a + 6ad534a commit 4591c5bCopy full SHA for 4591c5b
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