3 ms·
I agree with this comment from Reddit four days ago: > The inability to unload a plugin defeats the use I would have for this, unfortunately. A long running se
by guessmyname 10y ago
I agree with this comment from Reddit four days ago:
> The inability to unload a plugin defeats the use I would have for this, unfortunately. A long running service with plugins may want to load new, updated versions of an existing plugin. Not being able to unload the old version, ends up creating stale references which will keep piling up for the lifetime of the process. As I understand it, this is essentially a memory leak. [...]
> https://www.reddit.com/r/golang/comments/53adu8/a/d7rmmco https://www.reddit.com/r/golang/comments/53adu8/a/d7rmmco
There is also this project by Hashicorp: https://github.com/hashicorp/go-plugin https://github.com/hashicorp/go-plugin