summaryrefslogtreecommitdiff
path: root/Mac/PythonLauncher/MyDocument.m
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/PythonLauncher/MyDocument.m')
-rwxr-xr-xMac/PythonLauncher/MyDocument.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/PythonLauncher/MyDocument.m b/Mac/PythonLauncher/MyDocument.m
index 5acc2dcc90..86112c4b15 100755
--- a/Mac/PythonLauncher/MyDocument.m
+++ b/Mac/PythonLauncher/MyDocument.m
@@ -121,8 +121,8 @@
return YES;
} else {
[self run];
- [self close];
- return NO;
+ [self performSelector:@selector(close) withObject:nil afterDelay:0.0];
+ return YES;
}
}