mirror of
https://github.com/logos-messaging/nim-sds.git
synced 2026-08-02 13:03:10 +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.
|
## 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
|
## Being `<yourprefix>` the value given in the optional compilation flag --nimMainPrefix:yourprefix
|
||||||
libsdsNimMain()
|
libsdsNimMain()
|
||||||
ctxPoolLock.initLock() # ensure the lock is initialized once (fix Windows crash)
|
|
||||||
when declared(setupForeignThreadGc):
|
when declared(setupForeignThreadGc):
|
||||||
setupForeignThreadGc()
|
setupForeignThreadGc()
|
||||||
when declared(nimGC_setStackBottom):
|
when declared(nimGC_setStackBottom):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user