Revision: 18054
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=18054&view=rev
Author:   hofman
Date:     2011-08-09 20:59:37 +0000 (Tue, 09 Aug 2011)

Log Message:
-----------
workaround for WebKit bug in Safari 5.1

Modified Paths:
--------------
    trunk/bibdesk_vendorsrc/amaxwell/FileView/FVWebViewIcon.m

Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVWebViewIcon.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVWebViewIcon.m   2011-08-09 
06:35:39 UTC (rev 18053)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVWebViewIcon.m   2011-08-09 
20:59:37 UTC (rev 18054)
@@ -185,7 +185,8 @@
         [_webView stopLoading:nil];
         FVAPIAssert([_webView downloadDelegate] == nil, @"downloadDelegate 
non-nil");
         FVAPIAssert([_webView UIDelegate] == nil, @"UIDelegate non-nil");
-        [_webView release];
+        // autorelease instead of release to workaround rdar://problem/9923439 
(WebKit: crash when loading cancelled due to policy delegate callout)
+        [_webView autorelease];
         // may have frames if the load was cancelled?
         [_redirectedFrames removeAllObjects];
         _numberOfWebViews--;


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

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to