Skip to content

fix(dequeue): weak-key the tags table by object (B2)#34

Merged
dsent merged 1 commit into
aldum:devfrom
Vadim1987:Vadim1987/fix-dequeue-tags-leak
Jun 30, 2026
Merged

fix(dequeue): weak-key the tags table by object (B2)#34
dsent merged 1 commit into
aldum:devfrom
Vadim1987:Vadim1987/fix-dequeue-tags-leak

Conversation

@Vadim1987

Copy link
Copy Markdown

The module-level tags table was keyed by tostring(self) and never pruned, so it grew for the whole process lifetime; worse, a reused address could mis-tag a new Dequeue. Make tags weak-keyed (__mode = 'k') and key by the object itself, so entries are collected with their Dequeue and addresses can't collide.

@dsent
dsent requested a review from aldum June 30, 2026 02:45
@dsent
dsent merged commit 0e937cd into aldum:dev Jun 30, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants