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.
1 parent 2ccc3ba commit 3c444b8Copy full SHA for 3c444b8
src/_macosx.m
@@ -5693,12 +5693,14 @@ - (int)index
5693
if(nwin > 0)
5694
{
5695
[NSApp activateIgnoringOtherApps: YES];
5696
+ NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
5697
NSArray *windowsArray = [NSApp windows];
5698
NSEnumerator *enumerator = [windowsArray objectEnumerator];
5699
NSWindow *window;
5700
while ((window = [enumerator nextObject])) {
5701
[window orderFront:nil];
5702
}
5703
+ [pool release];
5704
[NSApp run];
5705
5706
Py_INCREF(Py_None);
0 commit comments