On Thu, 7 Feb 2019 at 19:05, Ben Noordhuis <[email protected]> wrote: > > On Fri, Jan 25, 2019 at 7:19 PM Iñaki Baz Castillo <[email protected]> wrote: > > But I cannot find any API to check this. Something such as > > uv_is_shuttingdown(). Is there any trick for that? > > There currently isn't but there is no reason one couldn't be added. > You're welcome to file a feature request or a pull request.
Hi, Ben. Finally I fixed my issue in an elegant way by setting the pointer in the uv_handle->data that points to my C++ class instance to null in the class destructor. I've should have done it from the very beginning: https://github.com/versatica/mediasoup/commit/79b7c4b922284d0507305fa9b483c1aff466ef04 So IMHo better not polluting libuv with unnecessary API. -- Iñaki Baz Castillo <[email protected]> -- 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.
