v0.3.0
go-plugin supports TinyGo 0.26.0 and also adds the ability to close a plugin.
Thanks to @anxuanzi for noticing the problem with TinyGo 0.26.0 and @mathetake for fixing it.
You do not need to do anything except upgrade and re-generate your source with protoc.
You should now defer closing a plugin after creating one. For example:
p, err := greeting.NewGreeterPlugin(ctx, greeting.GreeterPluginOption{})
if err != nil {...}
defer p.Close(ctx) // <-- here
Thanks to @codefromthecrypt and @mathetake for implementing Close.