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

when destroy should be called #72

Open
vipcxj opened this issue Dec 12, 2024 · 0 comments
Open

when destroy should be called #72

vipcxj opened this issue Dec 12, 2024 · 0 comments

Comments

@vipcxj
Copy link

vipcxj commented Dec 12, 2024

I found a destry function and just know that it can be used to clean up resources. There is nothing else described in the documentation.
So does this function have to be executed and is there a self-cleaning mechanism for the resolver object? The documentation strongly recommends that the resolver object must be initialized as a local variable in the function, meaning that it is scoped to the function. But I don't see destroy being called in any of the examples. Is it not required to be called? I think that since the function was added, it should state its application scenario, otherwise it could be misleading

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

No branches or pull requests

1 participant