Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 61cec390e9de0d1712e224af09bf151b57738919
      
https://github.com/WebKit/WebKit/commit/61cec390e9de0d1712e224af09bf151b57738919
  Author: Sihui Liu <sihui_...@apple.com>
  Date:   2023-01-19 (Thu, 19 Jan 2023)

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

  Log Message:
  -----------
  Ensure CacheStorageDiskStore is destroyed on the callback queue
https://bugs.webkit.org/show_bug.cgi?id=250869
rdar://104295786

Reviewed by Chris Dumez.

CacheStorageDiskStore is not ThreadSafeRefCounted (we don't expect it to be 
ref-ed or deref-ed from different threads),
so we need to pass the last ref of CacheStorageDiskStore to the queue that 
creates it.

* Source/WebKit/NetworkProcess/storage/CacheStorageDiskStore.cpp:
(WebKit::CacheStorageDiskStore::readAllRecords):
(WebKit::CacheStorageDiskStore::readRecords):

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to