Race condition in environment settings
heiner opened this issue Β· comments
Heiner commented
π Bug
Currently, we set environment variables before init and before reset. In the case of HACKDIR
, this is problematic as there's a race when several instances of NLE get reset or initialized simultaneously.
On top of that, using environment variables is a bit ugly in our case.
We should create an nle_settings struct that contains these and funnel them through.