Back out the window closing fix, it seems to be causing crashes.
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 22 Nov 2004 10:24:08 +0000 (10:24 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 22 Nov 2004 10:24:08 +0000 (10:24 +0000)
        * WebView.subproj/WebFrame.m:
        (-[WebFrame _detachFromParent]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8061 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/ChangeLog
WebKit/WebView.subproj/WebFrame.m

index af0e3fbfeddf310e377e240aff3b3315a1d7ab9d..fc6f93f6d94eb1763648aab1886cd4827cb8b765 100644 (file)
@@ -1,3 +1,10 @@
+2004-11-22  Maciej Stachowiak  <mjs@apple.com>
+
+       Back  out the window closing fix, it seems to be causing crashes.
+
+        * WebView.subproj/WebFrame.m:
+        (-[WebFrame _detachFromParent]):
+
 2004-11-20  Maciej Stachowiak  <mjs@apple.com>
  
         Reviewed by John.
index 41d9128c9835370e3cff2e50cd675b943d200307..6a07f58ff43041bcca0d5dde9393d1f4c40737c2 100644 (file)
@@ -557,10 +557,7 @@ NSString *WebPageCacheDocumentViewKey = @"WebPageCacheDocumentViewKey";
 
     [bridge close];
     
-    // autorelease instead of releasing, since this code path is used in the case of window
-    // close and we want to defer the possibly slow destruction of WebCore resources until
-    // after the window actually closes.
-    [bridge autorelease];
+    [bridge release];
 }
 
 - (void)_setDataSource:(WebDataSource *)ds