-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
example chat server in readme doesn't compile #9
Comments
That should be a warning? It should still compile. |
It's an error and no binary is generated. |
What version of nim are you using? |
Nim Compiler Version 1.0.0 [Linux: amd64] git hash: bb9298ca3b9e6f3bd4af8bd6c66ee7932b9e450d |
import ws, asyncdispatch, asynchttpserver
proc shrug() =
var server = newAsyncHttpServer()
# ... and the rest of your code
shrug() ¯\(ツ)/¯ @treeform thank for writing this lib! |
It only fails to compile when mutli thread is enabled |
Should I make a multi threaded version? I need to make it fail with threads. |
please do! |
Compiler says
'cbIter' is not GC-safe as it accesses 'connections' which is a global using GC'ed memory
. How to fix it?The text was updated successfully, but these errors were encountered: