Skip to content

Commit

Permalink
Development/improve webkit browser (#297)
Browse files Browse the repository at this point in the history
* [WebkitBrowser] Make a distinction between crash logging

* [WebkitBrowser]  Close opened MessageUnit instance

* [WebkitBrowser]  Close opened CommunicatorClient instance
  • Loading branch information
bramoosterhuis committed May 23, 2024
1 parent be2bfa4 commit 4305bed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions WebKitBrowser/Extension/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,11 @@ static class PluginHost {
#if defined(UPDATE_TZ_FROM_FILE)
_tzSupport.Deinitialize();
#endif

Messaging::MessageUnit::Instance().Close();

if (_comClient.IsValid() == true) {
_comClient->Close(RPC::CommunicationTimeOut);
_comClient.Release();
}
if (_engine.IsValid() == true) {
Expand Down
2 changes: 1 addition & 1 deletion WebKitBrowser/WebKitImplementation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3895,7 +3895,7 @@ static GSourceFuncs _handlerIntervention =

/* static */ void webProcessDidCrash(WKPageRef, const void*)
{
SYSLOG(Logging::Fatal, (_T("CRASH: WebProcess crashed: exiting ...")));
SYSLOG(Logging::Fatal, (_T("CRASH: WebProcess did crash: exiting ...")));
exit(1);
}

Expand Down

0 comments on commit 4305bed

Please sign in to comment.