mirror of
https://github.com/logos-messaging/nim-sds.git
synced 2026-08-24 22:29:25 +00:00
@@ -140,7 +140,6 @@ proc initializeLibrary() {.exported.} =
|
||||
## Every Nim library needs to call `<yourprefix>NimMain` once exactly, to initialize the Nim runtime.
|
||||
## Being `<yourprefix>` the value given in the optional compilation flag --nimMainPrefix:yourprefix
|
||||
libsdsNimMain()
|
||||
ctxPoolLock.initLock() # ensure the lock is initialized once (fix Windows crash)
|
||||
when declared(setupForeignThreadGc):
|
||||
setupForeignThreadGc()
|
||||
when declared(nimGC_setStackBottom):
|
||||
|
||||
Reference in New Issue
Block a user