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

Feature request: plugin close #24880

Closed
pjebs opened this issue Apr 16, 2018 · 1 comment
Closed

Feature request: plugin close #24880

pjebs opened this issue Apr 16, 2018 · 1 comment

Comments

@pjebs
Copy link
Contributor

pjebs commented Apr 16, 2018

Re: https://golang.org/pkg/plugin/

Currently the plugin package can open a plugin but can not close afterwards.

I am building an application that allows 3rd parties to develop plugins. They can be loaded using the Open function.

It would be desirable for the user of the application to be able to Close them after they no longer want to use the plugin. That way, unused memory can be freed up.

An example could be an application like an IDE such as sublime text or vscode which allow many plugins to be added and removed. Obviously these programs are not long-running, but there are other use cases where the application should be long-running.

@AlexRouSg
Copy link
Contributor

dupe of #20461

@pjebs pjebs closed this as completed Apr 16, 2018
@golang golang locked and limited conversation to collaborators Apr 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants