| 96 | |
| 97 | |
| 98 | int uv_timer_stop(uv_timer_t* handle) { |
| 99 | if (!uv__is_active(handle)) |
| 100 | return 0; |
| 101 | |
| 102 | heap_remove(timer_heap(handle->loop), |
| 103 | (struct heap_node*) &handle->heap_node, |
| 104 | timer_less_than); |
| 105 | uv__handle_stop(handle); |
| 106 | |
| 107 | return 0; |
| 108 | } |
| 109 | |
| 110 | |
| 111 | int uv_timer_again(uv_timer_t* handle) { |
searching dependent graphs…