Fix a crash on exit in WinLauncher
authoraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 Dec 2008 19:51:45 +0000 (19:51 +0000)
committeraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 Dec 2008 19:51:45 +0000 (19:51 +0000)
        Reviewed by Sam Weinig.

        * WinLauncher/WinLauncher.cpp:
        (_tWinMain): Call shutDownWebKit before exiting.

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

WebKitTools/ChangeLog
WebKitTools/WinLauncher/WinLauncher.cpp

index c46bc0a..aff823f 100644 (file)
@@ -1,5 +1,14 @@
 2008-12-03  Adam Roben  <aroben@apple.com>
 
+        Fix a crash on exit in WinLauncher
+
+        Reviewed by Sam Weinig.
+
+        * WinLauncher/WinLauncher.cpp:
+        (_tWinMain): Call shutDownWebKit before exiting.
+
+2008-12-03  Adam Roben  <aroben@apple.com>
+
         Add a Debug_Internal configuration to WinLauncher
 
         This matches our other projects.
index 4d60115..0b2193c 100644 (file)
@@ -233,6 +233,7 @@ int APIENTRY _tWinMain(HINSTANCE hInstance,
 
 exit:
     delete gWebView;
+    shutDownWebKit();
 #ifdef _CRTDBG_MAP_ALLOC
     _CrtDumpMemoryLeaks();
 #endif