Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 113cf2c7cf549f50f3511a82000596310a9918aa
      
https://github.com/WebKit/WebKit/commit/113cf2c7cf549f50f3511a82000596310a9918aa
  Author: Sihui Liu <[email protected]>
  Date:   2026-05-18 (Mon, 18 May 2026)

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

  Log Message:
  -----------
  Check m_closed in NetworkStorageManager::donePrepareForEviction
https://bugs.webkit.org/show_bug.cgi?id=314963
rdar://177256813

Reviewed by Per Arne Vollan.

donePrepareForEviction is dispatched to the work queue from an async callback 
on the main thread. Between the m_closed
check in the callback and the execution on the work queue, close() can be 
called, setting m_closed and scheduling
cleanup of m_originStorageManagers. Add the same m_closed early return that 
donePrepareForTimeBasedEviction already has
for consistency and safety.

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

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to