Hi! I'm afraid it is not a public field (perhaps worth filling a bug report).
On Tue, Feb 11, 2014 at 10:13 PM, Mike Mangelsdorf <[email protected]> wrote: > I was calling uv_close with NULL for the call back pointer, as I had seen > that in a few code samples, and tried to attach an on_close callback to the > client stream like so: > > on_connected(... > sock_conn->client_stream.close_cb = on_close; > > My on_close function never got called, until I tried calling uv_close with > on_close as an explicit call back function, which then got called > asynchronously -- so I got that working. > > Still it's nagging me that I don't understand the meaning of specifying NULL > as 2nd arg of uv_close. Also, the .close_cb is a "public" handle field, so I > presume that I misunderstand something there as well... > > > > -- > You received this message because you are subscribed to the Google Groups > "libuv" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/libuv. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/libuv. For more options, visit https://groups.google.com/groups/opt_out.
