Skip to content

Conversation

@NeejWeej
Copy link
Collaborator

We utilize a weakref to make sure that we do not maintain the last context when nothing else references it.

@NeejWeej NeejWeej force-pushed the nk/weak_ref_context branch from 100b830 to 58f34fc Compare August 19, 2025 21:55
@NeejWeej NeejWeej marked this pull request as ready for review August 19, 2025 23:00
@NeejWeej NeejWeej merged commit fce67c9 into main Aug 20, 2025
27 checks passed
@NeejWeej NeejWeej deleted the nk/weak_ref_context branch August 20, 2025 18:03
AdamGlustein pushed a commit that referenced this pull request Oct 8, 2025
* Use weakref for previous context maintenance

Signed-off-by: Nijat Khanbabayev <[email protected]>

* Add test for TVarValidationContext garbage collection

Signed-off-by: Nijat Khanbabayev <[email protected]>

---------

Signed-off-by: Nijat Khanbabayev <[email protected]>
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.

4 participants