Disable automatic relaunching on OS X 10.7

This commit is contained in:
Bjorn Winckler
2011-07-16 13:54:25 +02:00
parent 47e83bcd2e
commit 35c355a085
+5
View File
@@ -241,6 +241,11 @@ fsEventCallback(ConstFSEventStreamRef streamRef,
{
if (!(self = [super init])) return nil;
#if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7)
// Disable automatic relaunching
[NSApp disableRelaunchOnLogin];
#endif
vimControllers = [NSMutableArray new];
cachedVimControllers = [NSMutableArray new];
preloadPid = -1;