diff --git a/WebKitBrowser/WebKitImplementation.cpp b/WebKitBrowser/WebKitImplementation.cpp index 6d16a16bd7..ae0f496a34 100644 --- a/WebKitBrowser/WebKitImplementation.cpp +++ b/WebKitBrowser/WebKitImplementation.cpp @@ -2607,7 +2607,7 @@ static GSourceFuncs _handlerIntervention = SYSLOG(Trace::Fatal, (_T("CRASH: WebProcess terminated due to memory limit: exiting ..."))); break; } - exit(1); + _exit(1); } static void closeCallback(WebKitWebView*, WebKitImplementation* browser) { @@ -3337,8 +3337,8 @@ static GSourceFuncs _handlerIntervention = /* static */ void webProcessDidCrash(WKPageRef, const void*) { - SYSLOG(Trace::Fatal, (_T("CRASH: WebProcess crashed, exiting..."))); - exit(1); + SYSLOG(Trace::Fatal, (_T("CRASH: WebProcess crashed, calling _exit()..."))); + _exit(1); } #endif // !WEBKIT_GLIB_API } // namespace Plugin