Test hook and FinalizationRegistry callback: treat id as collected.
FinalizationRegistry
id
Pushes the record onto the pending-leak queue when it was never disposed. Safe to call with an unknown id (no-op). Production: no-op.
Test hook and
FinalizationRegistrycallback: treatidas collected.Pushes the record onto the pending-leak queue when it was never disposed. Safe to call with an unknown id (no-op). Production: no-op.