traefik / yaegi

Yaegi is Another Elegant Go Interpreter
https://pkg.go.dev/github.com/traefik/yaegi
Apache License 2.0
6.94k stars 343 forks source link

Fix deadlock after parsing directory with no files #1492

Closed dennwc closed 1 year ago

dennwc commented 1 year ago

Currently if interpreter tries to eval an empty directory with no Go files it will error (as it should), but all future calls to eval will deadlock, because the mutex is not unlocked correctly. I believe this is a critical issue that must be addressed.

dennwc commented 1 year ago

cc @mvertes