From 59203c63bb777a3bacec32fb8830fba33540e809 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:35:29 +0200 Subject: Adding upstream version 127.0. Signed-off-by: Daniel Baumann --- dom/cache/CacheChild.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dom/cache/CacheChild.cpp') diff --git a/dom/cache/CacheChild.cpp b/dom/cache/CacheChild.cpp index c822653fea..05f25ec838 100644 --- a/dom/cache/CacheChild.cpp +++ b/dom/cache/CacheChild.cpp @@ -112,7 +112,7 @@ void CacheChild::NoteDeletedActor() { // CacheOpChilds when StartDestroy was called from WorkerRef notification. If // the last CacheOpChild is getting destructed; it's the time for us to // SendTearDown to the other side. - if (NumChildActors() == 1 && mDelayedDestroy && !mLocked) DestroyInternal(); + if (NumChildActors() == 0 && mDelayedDestroy && !mLocked) DestroyInternal(); } already_AddRefed CacheChild::AllocPCacheOpChild( -- cgit v1.2.3