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/CacheStorageChild.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dom/cache/CacheStorageChild.cpp') diff --git a/dom/cache/CacheStorageChild.cpp b/dom/cache/CacheStorageChild.cpp index e7918bbf88..e344e2c272 100644 --- a/dom/cache/CacheStorageChild.cpp +++ b/dom/cache/CacheStorageChild.cpp @@ -88,7 +88,7 @@ void CacheStorageChild::NoteDeletedActor() { // 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) DestroyInternal(); + if (NumChildActors() == 0 && mDelayedDestroy) DestroyInternal(); } void CacheStorageChild::ActorDestroy(ActorDestroyReason aReason) { -- cgit v1.2.3