I haven't followed all the code, but if this function is somehow after the `signal_cb` callback from libuv you should be safe since the signal callbacks are handled just like any other callback.