Skip to content

Feature request: plugin close #24880

Closed
Closed
@pjebs

Description

@pjebs

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.

Activity

AlexRouSg

AlexRouSg commented on Apr 16, 2018

@AlexRouSg
Contributor

dupe of #20461

locked and limited conversation to collaborators on Apr 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @pjebs@AlexRouSg@gopherbot

        Issue actions

          Feature request: plugin close · Issue #24880 · golang/go