Skip to content

Commit b577614

Browse files
authored
Merge pull request #27530 from meeseeksmachine/auto-backport-of-pr-27528-on-v3.8.x
Backport PR #27528 on branch v3.8.x (FIX: Remove runloop execution while waiting for stdin)
2 parents b63a5cb + ca293a2 commit b577614

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/_macosx.m

-3
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,6 @@ static int wait_for_stdin() {
8989
if (!event) { break; }
9090
[NSApp sendEvent: event];
9191
}
92-
// We need to run the run loop for a short time to allow the
93-
// events to be processed and keep flushing them while we wait for stdin
94-
[[NSRunLoop currentRunLoop] runUntilDate: [NSDate dateWithTimeIntervalSinceNow: 0.01]];
9592
}
9693
// Remove the input handler as an observer
9794
[[NSNotificationCenter defaultCenter] removeObserver: stdinHandle];

0 commit comments

Comments
 (0)