I'm in the process of upgrading to Nim 2.2.2
Nim doesn't produce an executable but a lib.dll in my case.
I always have NimMain function but since upgrading to 2.2.2, I have this new function NimDestroyGlobals that comes up.
I can't find any information (or I haven't looked properly) on this in the documentation.
The name of the function is clear but can you tell me a bit more, or tell me where I can find some information.
I knew about NimMain but I hadn't found NimDestroyGlobals in the docs, so I now have my explanation here https://nim-lang.github.io/Nim/backends.html#interfacing-backend-code-calling-nim
Thanks