Fixes #157: Delayed relaunch not working

This commit is contained in:
Andy Matuschak committed 2012-02-24 08:55:22 -08:00
1 parent 02088e0da6
commit 4d00e8c569
1 file changed
+1 -1
+1 -1
View File
@@ -279,7 +279,7 @@
{
NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:[[self class] instanceMethodSignatureForSelector:@selector(installWithToolAndRelaunch:)]];
[invocation setSelector:@selector(installWithToolAndRelaunch:)];
[invocation setArgument:&relaunch atIndex:0];
[invocation setArgument:&relaunch atIndex:2];
[invocation setTarget:self];
postponedOnce = YES;
if ([[updater delegate] updater:updater shouldPostponeRelaunchForUpdate:updateItem untilInvoking:invocation])