-
Notifications
You must be signed in to change notification settings - Fork 115
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
Guided Tour implies no GC running when using Scope #74
Comments
Yeah the GC is running in a call to The reason I mention the GC is because that is the reason WHY userdata must be Edit: also, similarly, this is why we can let userdata be Send. In the context of a Unfortunately, you can't take away the Note: I'm using lowercase 'userdata' here to refer to the Lua concept of userdata, which in this case includes both callbacks with state and also types that implement the Edit 2: I guess mentioning the GC at all is really unnecessary, as there are really countless ways of Lua extending the lifetime of something, I'll just reword it to not mention the GC at all. |
Changed the documentation in the guided tour, hopefully this is clearer. Also for future reference in case somebody looks at this issue, what I wrote about |
In the Guided Tour example, the comment above the
.scope
code could imply that no GC is running while using the scope. At least that's how I understood it at first.After a small test I'm pretty certain that the GC is running when inside a scope, so I guess this is just an unfortunately phrased comment.
The text was updated successfully, but these errors were encountered: