[haiku-webkit-commits] r296 - webkit/trunk/WebKit/haiku/API

  • From: webkit@xxxxxxxxxxxxxxx
  • To: haiku-webkit-commits@xxxxxxxxxxxxx
  • Date: Sat, 06 Mar 2010 16:42:03 +0000

Author: stippi
Date: Sat Mar  6 16:42:03 2010
New Revision: 296
URL: http://mmlr.dyndns.org/changeset/296

Log:
Close the icon database properly when shutting down.

Modified:
   webkit/trunk/WebKit/haiku/API/WebSettings.cpp

Modified: webkit/trunk/WebKit/haiku/API/WebSettings.cpp
==============================================================================
--- webkit/trunk/WebKit/haiku/API/WebSettings.cpp       Sat Mar  6 12:41:48 
2010        (r295)
+++ webkit/trunk/WebKit/haiku/API/WebSettings.cpp       Sat Mar  6 16:42:03 
2010        (r296)
@@ -96,6 +96,10 @@
                be_app->RemoveHandler(this);
                be_app->Unlock();
        }
+    if (!fData->settings) {
+        // The global settings instance manages the icon database...
+        WebCore::iconDatabase()->close();
+    }
        delete fData;
 }
 

Other related posts:

  • » [haiku-webkit-commits] r296 - webkit/trunk/WebKit/haiku/API - webkit