json_refs icon indicating copy to clipboard operation
json_refs copied to clipboard

Using Dir.chdir is not threadsafe

Open ahx opened this issue 2 years ago • 0 comments

I had to learn the hard way that using this library in a threaded environment might lead to problems, because json_refs uses Dir.chdir, which is not threadsafe.

I guess solving this should be possible without any breaking changed, but I did not get my head around it so far (please help).

ahx avatar Dec 11 '22 22:12 ahx