[webkit-changes] [WebKit/WebKit] 06e410: CacheStorageCache::removeRecords should remove key...

Sihui noreply at github.com
Wed Feb 22 00:56:27 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 06e4100391f090dc063fb43113a1d69360fa6c44
      https://github.com/WebKit/WebKit/commit/06e4100391f090dc063fb43113a1d69360fa6c44
  Author: Sihui Liu <sihui_liu at apple.com>
  Date:   2023-02-22 (Wed, 22 Feb 2023)

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

  Log Message:
  -----------
  CacheStorageCache::removeRecords should remove key from m_records when its records become empty
https://bugs.webkit.org/show_bug.cgi?id=252676
rdar://105733091

Reviewed by Youenn Fablet.

They key might never be reached again, so we should not keep it in memory.

* Source/WebKit/NetworkProcess/storage/CacheStorageCache.cpp:
(WebKit::CacheStorageCache::removeRecords):

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




More information about the webkit-changes mailing list