Changeset 224249 in webkit


Ignore:
Timestamp:
Oct 31, 2017 2:43:58 PM (6 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: UIProcess ASSERT in ~RemoteWebInspectorProxy when InspectorProcess crashes
https://bugs.webkit.org/show_bug.cgi?id=179044

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2017-10-31
Reviewed by Alex Christensen.

  • UIProcess/RemoteWebInspectorProxy.cpp:

(WebKit::RemoteWebInspectorProxy::frontendDidClose):
Add a protector to keep the proxy alive for the duration of this method.

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r224240 r224249  
     12017-10-31  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        Web Inspector: UIProcess ASSERT in ~RemoteWebInspectorProxy when InspectorProcess crashes
     4        https://bugs.webkit.org/show_bug.cgi?id=179044
     5
     6        Reviewed by Alex Christensen.
     7
     8        * UIProcess/RemoteWebInspectorProxy.cpp:
     9        (WebKit::RemoteWebInspectorProxy::frontendDidClose):
     10        Add a protector to keep the proxy alive for the duration of this method.
     11
    1122017-10-31  Youenn Fablet  <youenn@apple.com>
    213
  • trunk/Source/WebKit/UIProcess/RemoteWebInspectorProxy.cpp

    r222583 r224249  
    8383void RemoteWebInspectorProxy::frontendDidClose()
    8484{
     85    Ref<RemoteWebInspectorProxy> protect(*this);
     86
    8587    if (m_client)
    8688        m_client->closeFromFrontend();
Note: See TracChangeset for help on using the changeset viewer.