You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A worker is said to be a protected worker if it is an active needed worker and either it has outstanding timers, database transactions, or network connections, or its list of the worker's ports is not empty, or its WorkerGlobalScope is actually a SharedWorkerGlobalScope object (i.e. the worker is a shared worker).
I believe the goal here is to avoid GC'ing orphan workers whose existence can be observed from other contexts.
Should this list somehow include BroadcastChannel? I don't see any reference to it and AFAICT BroadcastChannel doesn't use entanged ports, so its not included that way.
The text was updated successfully, but these errors were encountered:
Currently the "protected worker" concept lists a number of conditions:
https://html.spec.whatwg.org/multipage/workers.html#protected-worker
I believe the goal here is to avoid GC'ing orphan workers whose existence can be observed from other contexts.
Should this list somehow include BroadcastChannel? I don't see any reference to it and AFAICT BroadcastChannel doesn't use entanged ports, so its not included that way.
The text was updated successfully, but these errors were encountered: