Skip to content

when destroy should be called #72

Description

@vipcxj

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions