Closed olegbespalov closed 4 months ago
During the https://github.com/grafana/xk6-webcrypto/pull/67#discussion_r1562260215 we figured out that it's essential to not have access to the goja runtime inside the go routines because that could lead to the race.
There are places in the module where we have such access; we should migrate them accordingly:
Having access to the throw routine could lead to the race.
What?
During the https://github.com/grafana/xk6-webcrypto/pull/67#discussion_r1562260215 we figured out that it's essential to not have access to the goja runtime inside the go routines because that could lead to the race.
There are places in the module where we have such access; we should migrate them accordingly:
Why?
Having access to the throw routine could lead to the race.