Closed ITR13 closed 11 months ago
The project will be updated to work with latest nim. I also have a lot of plans to refactor things, and I think I'll just rewrite this threads module from scratch. Maybe. Will leave this opened till fixed. Thanks for the issue.
Well, I refactored it :D
Using the spawn template on nim 1.4.0+ fails due to the proc for onThreadDestruction not having {.raises: []}.
In my current project I have fixed this locally with:
Not sure if nm causing a key error is actually impossible, but I assume the exception on top of spawn should catch it before it gets to that point?