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

Adds Plugin.Close #10

Merged
merged 2 commits into from
Nov 21, 2022
Merged

Adds Plugin.Close #10

merged 2 commits into from
Nov 21, 2022

Conversation

codefromthecrypt
Copy link
Collaborator

Issue #, if available:

Fixes #4

Description of changes:

This generates close and changes examples to suggest doing so, as it avoids leaking memory mapped files until GC.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Signed-off-by: Adrian Cole <adrian@tetrate.io>
@codefromthecrypt
Copy link
Collaborator Author

@mathetake PTAL and if ok I'll merge and cut a release.

gen/host.go Outdated Show resolved Hide resolved
gen/host.go Outdated Show resolved Hide resolved
gen/host.go Outdated Show resolved Hide resolved
@codefromthecrypt
Copy link
Collaborator Author

thanks for the tips

Signed-off-by: Adrian Cole <adrian@tetrate.io>
@codefromthecrypt codefromthecrypt merged commit 55122e4 into main Nov 21, 2022
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.

Add Close()
2 participants