Fix by Darin, reviewed by Adele.
authoradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 25 Aug 2007 00:09:44 +0000 (00:09 +0000)
committeradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 25 Aug 2007 00:09:44 +0000 (00:09 +0000)
commit2eb46dbd80d64de8f53ebafa8f0b294f20ba59a7
tree99ec0207c5ba884fbc85b485985c88cec439b155
parent67a38dbad45761448c9e2aa610fea14ed13b4b68
    Fix by Darin, reviewed by Adele.

        Fix for <rdar://problem/5433422> Upon quitting, WebKit loads the WebPlugin shared database and immediately closes it

        * Plugins/WebPluginDatabase.h: Added closeSharedDatabase, which won't create a new database if we're just trying to close it.
        * Plugins/WebPluginDatabase.m: (+[WebPluginDatabase closeSharedDatabase]): Added.
        * WebView/WebView.mm:
        (-[WebView _close]): Call closeSharedDatabase.
        (+[WebView _applicationWillTerminate]): Call closeSharedDatabase.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@25222 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/ChangeLog
WebKit/Plugins/WebPluginDatabase.h
WebKit/Plugins/WebPluginDatabase.m
WebKit/WebView/WebView.mm