Revision: 5438
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5438&view=rev
Author:   hofman
Date:     2009-06-18 16:52:10 +0000 (Thu, 18 Jun 2009)

Log Message:
-----------
Only install updates synchronously, because the installer is not thread safe 
and returns on the same thread as where it installs

Modified Paths:
--------------
    trunk/vendorsrc/andymatuschak/Sparkle/SUPlainInstaller.m

Modified: trunk/vendorsrc/andymatuschak/Sparkle/SUPlainInstaller.m
===================================================================
--- trunk/vendorsrc/andymatuschak/Sparkle/SUPlainInstaller.m    2009-06-18 
14:23:28 UTC (rev 5437)
+++ trunk/vendorsrc/andymatuschak/Sparkle/SUPlainInstaller.m    2009-06-18 
16:52:10 UTC (rev 5438)
@@ -46,10 +46,10 @@
 + (void)performInstallationWithPath:(NSString *)path host:(SUHost *)host 
delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id 
<SUVersionComparison>)comparator
 {
        NSDictionary *info = [NSDictionary dictionaryWithObjectsAndKeys:path, 
SUInstallerPathKey, host, SUInstallerHostKey, delegate, SUInstallerDelegateKey, 
comparator, SUInstallerVersionComparatorKey, nil];
-       if (synchronously)
+       //if (synchronously)
                [self _performInstallationWithInfo:info];
-       else
-               [NSThread 
detachNewThreadSelector:@selector(_performInstallationWithInfo:) toTarget:self 
withObject:info];
+       //else
+       //      [NSThread 
detachNewThreadSelector:@selector(_performInstallationWithInfo:) toTarget:self 
withObject:info];
 }
 
 @end


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to