When the WebProcess cleanup timer fires, MemoryCache may try to release the decoded data of an already deleted CachedImage. MemoryCache stores the list of cached resources as WeakPtrs. So we need to null check these WeakPtrs in forEachResource() before using them.
rdar://110339514
Pull request: https://github.com/WebKit/WebKit/pull/14890
Committed 265093@main (1fc9a2418bc9): <https://commits.webkit.org/265093@main> Reviewed commits have been landed. Closing PR #14890 and removing active labels.