mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-28 05:14:34 +00:00
Fixes 239512
NSAutoreleasePool is now drained instead of released.
This commit is contained in:
1 parent
cd4addbcd7
commit
d4291d60d4
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -84,7 +84,7 @@
|
||||
NS_HANDLER;
|
||||
NS_ENDHANDLER;
|
||||
|
||||
[pool release];
|
||||
[pool drain];
|
||||
|
||||
// retained above
|
||||
[result autorelease];
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ extern NSString *SUInstallerDelegateKey;
|
||||
|
||||
[self installPath:[info objectForKey:SUInstallerPathKey] overHostBundle:[info objectForKey:SUInstallerHostBundleKey] delegate:[info objectForKey:SUInstallerDelegateKey]];
|
||||
|
||||
[pool release];
|
||||
[pool drain];
|
||||
}
|
||||
|
||||
+ (void)performInstallationWithPath:(NSString *)path hostBundle:(NSBundle *)hostBundle delegate:delegate synchronously:(BOOL)synchronously;
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@ int main (int argc, const char * argv[])
|
||||
[[[TerminationListener alloc] initWithExecutablePath:argv[1] parentProcessId:atoi(argv[2])] autorelease];
|
||||
[[NSApplication sharedApplication] run];
|
||||
|
||||
[pool release];
|
||||
[pool drain];
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
Reference in new issue
Block a user