Reviewed by Maciej
authorbeidson <beidson@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Jun 2006 23:13:22 +0000 (23:13 +0000)
committerbeidson <beidson@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Jun 2006 23:13:22 +0000 (23:13 +0000)
        The WebCoreIconDatabaseBridge was getting messages sent to it after it had been closed, resulting in a crash
        on an ASSERT().  After closing the databaseBridge, we simply set it to nil so this can't happen.
        anymore.

        * Misc/WebIconDatabase.m:
        (-[WebIconDatabase _applicationWillTerminate:]):

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

WebKit/ChangeLog
WebKit/Misc/WebIconDatabase.m

index 9e893d60dbf511ab1c88e5dbbcf9bc3c79e0d25c..4e0d9fe2d2900d0197bb3ec35d2df77e43e7b093 100644 (file)
@@ -1,3 +1,14 @@
+2006-06-21  Brady Eidson  <beidson@apple.com>
+
+        Reviewed by Maciej
+
+        The WebCoreIconDatabaseBridge was getting messages sent to it after it had been closed, resulting in a crash
+        on an ASSERT().  After closing the databaseBridge, we simply set it to nil so this can't happen.
+        anymore.
+
+        * Misc/WebIconDatabase.m:
+        (-[WebIconDatabase _applicationWillTerminate:]):
+
 2006-06-21  Tim Omernick  <timo@apple.com>
 
         Reviewed by Geoff Garen.
index 4cb550bc380d17267133bab246bba4f7f843e588..0c642e7b8bcfaa04729cd9e8146f30a515743407 100644 (file)
@@ -667,6 +667,8 @@ NSSize WebIconLargeSize = {128, 128};
     [_private->fileDatabase sync];
     
     [_private->databaseBridge closeSharedDatabase];
+    [_private->databaseBridge release];
+    _private->databaseBridge = nil;
 }
 
 - (int)_totalRetainCountForIconURLString:(NSString *)iconURLString