icecat: add release icecat-140.7.0-1gnu1 for aramo

This commit is contained in:
Ark74 2026-01-18 00:16:18 -06:00
parent 17ba0259bf
commit 86c0c0ca33
156 changed files with 9131 additions and 4525 deletions

View file

@ -4797,6 +4797,15 @@ bool WorkerPrivate::FreezeInternal() {
return true;
}
bool WorkerPrivate::HasActiveWorkerRefs() {
auto data = mWorkerThreadAccessible.Access();
auto* timeoutManager =
data->mScope ? data->mScope->GetTimeoutManager() : nullptr;
return !data->mChildWorkers.IsEmpty() ||
(timeoutManager && timeoutManager->HasTimeouts()) ||
!data->mWorkerRefs.IsEmpty();
}
bool WorkerPrivate::ThawInternal() {
auto data = mWorkerThreadAccessible.Access();
NS_ASSERTION(data->mFrozen, "Not yet frozen!");