plugin: call dlclose if loading a plugin fails #32095
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
First I load an .so built with go1.12,while error occur,I load another .so built with go1.12.5,still got error:plugin was built with a different version of package errors。
If I only load the .so which built with go1.12.5, It works correctly.
What did you expect to see?
If load an .so built with different verison of go,while error occur,I load another .so built with the correct version of go,no error should occur,It should work correctly。
What did you see instead?
The text was updated successfully, but these errors were encountered: