WebKit/win:
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 10 May 2008 00:26:15 +0000 (00:26 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 10 May 2008 00:26:15 +0000 (00:26 +0000)
commit6fe5aac0fca5473cd506521e930c560dbb960c8c
tree48d794aae5d47b5b7311715ade84a6daa792d64c
parentea0e464386772dfa633a8fcf3bcefc7b4e83b8b7
WebKit/win:
        Reviewed by Adam Roben

        Fix a hang-on-quit bug where in the DLL_PROCESS_DETACH DllMain callback, we assummed that
        we could cleanly shutdown WebKit but we couldn't because any background threads have already
        been uncleanly aborted at that point.

        * ForEachCoClass.cpp:
        (shutDownWebKit): Moved from WebKitDLL to here, to be exposed via WebKit.def
        * ForEachCoClass.h:

        * WebKit.vcproj/WebKit.def:
        * WebKit.vcproj/WebKit_debug.def:

        * WebKitDLL.cpp:
        (DllMain): Don't call shutDownWebKit here

WebKitTools:
        Reviewed by Adam Roben

        Explicitly call shutDownWebKit() before quitting.

        * Drosera/win/Drosera.cpp:
        (_tWinMain):

        * DumpRenderTree/win/DumpRenderTree.cpp:
        (main):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@33017 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/win/ChangeLog
WebKit/win/ForEachCoClass.cpp
WebKit/win/ForEachCoClass.h
WebKit/win/WebKit.vcproj/WebKit.def
WebKit/win/WebKit.vcproj/WebKit_debug.def
WebKit/win/WebKitDLL.cpp
WebKitTools/ChangeLog
WebKitTools/Drosera/win/Drosera.cpp
WebKitTools/DumpRenderTree/win/DumpRenderTree.cpp