Thanks to visit codestin.com Credit goes to github.com
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 32149e4 + 3c444b8 commit 9c60c58Copy full SHA for 9c60c58
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