Closed gzigzigzeo closed 2 years ago
Fixes https://github.com/wasmerio/wasmer-go/issues/291. Please, check https://github.com/wasmerio/wasmer-go/issues/291#issuecomment-1104443467 for the detailed description of the problem.
The crash can be reproduced in the master branch by adding runtime.GC() twice to the end of examples/example_early_exit_test.go file.
master
runtime.GC()
examples/example_early_exit_test.go
Upvoting this fix
We did have the same issue and this change fix it!.
Fixes https://github.com/wasmerio/wasmer-go/issues/291. Please, check https://github.com/wasmerio/wasmer-go/issues/291#issuecomment-1104443467 for the detailed description of the problem.
The crash can be reproduced in the
master
branch by addingruntime.GC()
twice to the end ofexamples/example_early_exit_test.go
file.