Many thanks for explanation, and using atomicArc solves the problem. Somehow I never quite realised that Nim reference counting was playing a role here and would be affected by data races.
- gc/malebolgia bug? pixel
- gc/malebolgia bug? sls1005
- gc/malebolgia bug? pixel
- gc/malebolgia bug? amadan
- gc/malebolgia bug? pixel