[webkit-changes] [WebKit/WebKit] 64a739: Ensure NetworkStorageManager gets destroyed on the...

Sihui noreply at github.com
Tue Dec 19 16:37:06 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 64a739754a58011eb565cd42714159be4f9a48f0
      https://github.com/WebKit/WebKit/commit/64a739754a58011eb565cd42714159be4f9a48f0
  Author: Sihui Liu <sihui_liu at apple.com>
  Date:   2023-12-19 (Tue, 19 Dec 2023)

  Changed paths:
    M Source/WebKit/NetworkProcess/storage/NetworkStorageManager.cpp

  Log Message:
  -----------
  Ensure NetworkStorageManager gets destroyed on the main thread
https://bugs.webkit.org/show_bug.cgi?id=266603
rdar://117839300

Reviewed by Chris Dumez and Alex Christensen.

Dispatch a task to main thread to release ref of NetworkStorageManager in stopReceivingMessageFromConnection, which may
help fix the crash under IDBStorageRegistry::removeConnectionToClient in rdar://117839300.

* Source/WebKit/NetworkProcess/storage/NetworkStorageManager.cpp:
(WebKit::NetworkStorageManager::stopReceivingMessageFromConnection):

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




More information about the webkit-changes mailing list