NimMain only handles setting up global variables and some consts with ARC/ORC. 
There is no global orc thread. I think orc cycle collection is run per-thread 
based on a trigger mechanism.

So calling NimMain once on startup is fine. At least it works well for me. ;) 
There was a PR to remove even needing to call NimMain by letting C initialize 
the variables. Not sure what happened to it. 

Reply via email to