-
Notifications
You must be signed in to change notification settings - Fork 18k
runtime: allow SetFinalizer with a func(interface{}) #5368
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
Labels
Milestone
Comments
In runfinq, if the function took an argument of type interface{}, f->arg would have to be converted to type interface{}. Probably we would want SetFinalizer to record the pointer-to-argument type along with the finalizer. Then runfinq could use that type, plus f->arg, to build the interface value to pass to reflect·call. |
CL sent. https://golang.org/cl/11858043/#ps2001 I've never delved this deep into the Runtime before. Good times were had by all. |
This issue was closed by revision 6350e45. Status changed to Fixed. |
This issue was closed by revision 5822e78. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: