You passed NULL as the callback value. That’s only permitted for the fs
family of functions.
On Thu, Dec 20, 2018 at 15:24 Nathan Hartman <[email protected]>
wrote:

> On Friday, November 23, 2018 at 3:25:42 AM UTC-5, kelvin feng wrote:
>>
>> I have a tcp connection with a timer. When the connection receives EOF, I
>> would close the connection and release all the resources.
>> Code snippet:
>>
>
> [snip]
>
> The question is : Why does the program crash after I call the uv_close to
>> close the uv_timer_t?And it will leak memory if I don't call uv_close.
>> What's the problem with that ?How can I close the connection with the
>> timer safely?  Thanks.
>>
>
> Ping. I have the same question... Does anyone know?
>
> --
> 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 https://groups.google.com/group/libuv.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to