Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Collection of unregister token objects #118

@mhofman

Description

@mhofman

I was wondering about the collection behavior of unregister tokens.

The tokens are held in the [[UnregisterToken]] field of a Cell Record. Can that field be emptied if the token becomes unreachable from JavaScript?

This scenario could happen if a FinalizationGroup user decides it no longer needs to unregister cells yet still wants to know about finalization so keeps the registration intact but it removes its own reference to the token.

Related to #115

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions