[webkit-changes] [WebKit/WebKit] 0015b1: [Debug] Referencing `m_processPool` in `~WebProces...

Vitaly Dyachkov noreply at github.com
Fri Nov 3 15:22:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0015b171029670479bb9dd5fb89324d9c0a608b5
      https://github.com/WebKit/WebKit/commit/0015b171029670479bb9dd5fb89324d9c0a608b5
  Author: Vitaly Dyachkov <vitaly at igalia.com>
  Date:   2023-11-03 (Fri, 03 Nov 2023)

  Changed paths:
    M Source/WebKit/UIProcess/WebProcessProxy.cpp

  Log Message:
  -----------
  [Debug] Referencing `m_processPool` in `~WebProcessProxy()` causes a crash
https://bugs.webkit.org/show_bug.cgi?id=264178

Reviewed by Chris Dumez.

Cached `WebProcess`es can be destroyed as a result of clearing
`WebProcessPool`'s cache during its destruction.

In this case, referencing `m_processPool` will fail because its deletion
has already begun.

* Source/WebKit/UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::~WebProcessProxy):

Canonical link: https://commits.webkit.org/270209@main




More information about the webkit-changes mailing list