mirror of
https://github.com/logos-messaging/nim-sds.git
synced 2026-02-17 04:23:09 +00:00
Revert "initialize ctxPoolLock"
This reverts commit be4c283581be0e10aa1413d3c0f277164e067d8d.
This commit is contained in:
parent
b8249e6afc
commit
c2ca3d4e8a
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user