Skip to content

Conversation

@quinnj
Copy link
Member

@quinnj quinnj commented Feb 4, 2025

Creates a mutable struct wrapper for each default resource so we can add appropraite finalizers. Also adds a convenience close_ method for each resource that will finalize the current resource and reset it to "null".

This machinery is necessary for precompile workloads to appropriately do a total cleanup of all process resources (as discovered in JuliaWeb/HTTP.jl#1213)

Creates a mutable struct wrapper for each default resource so
we can add appropraite finalizers. Also adds a convenience close_
method for each resource that will finalize the current resource and
reset it to "null".

This machinery is necessary for precompile workloads to appropriately
do a total cleanup of all process resources (as discovered in
JuliaWeb/HTTP.jl#1213)
@quinnj quinnj merged commit 4209d85 into main Feb 4, 2025
10 checks passed
@quinnj quinnj deleted the jq-cleanup branch February 4, 2025 14:22
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.

2 participants