On Fri, 25 Jan 2019 at 19:02, Iñaki Baz Castillo <i...@aliax.net> wrote:

> 1) After calling uv_close() (and before uv_close_cb is called) is
> there any API to check if the handle is (or is being) closed? (I think
> there is).

Of course: uv_is_closing().


> 2) After calling uv_shutdown() (and before uv_shutdown_cb is called)
> is there any API to check if the handle is being shutdown?

But I cannot find any API to check this. Something such as
uv_is_shuttingdown(). Is there any trick for that?


BTW this is the related issue in my project:
https://github.com/versatica/mediasoup/issues/258#issuecomment-457660662

-- 
Iñaki Baz Castillo
<i...@aliax.net>

-- 
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.

Reply via email to