Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide means for complete cleanup of LibAwsIO default resources #9

Merged
merged 1 commit into from
Feb 4, 2025

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.

1 participant