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 libuv+unsubscr...@googlegroups.com. To post to this group, send email to libuv@googlegroups.com. Visit this group at https://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.