about summary refs log tree commit diff stats
path: root/test/src/test-close.c
Commit message (Collapse)AuthorAgeFilesLines
* src: error or NULL links they happen on closeFedor Indutny2016-06-031-0/+6
| | | | | | | | | | | Right after `uv_link_close()` all links will be unchained, meaning that they `link->parent` is NULL. Instead of crashing on calls like: `uv_link_try_write(link->parent, ...)` Make them return `UV_EFAULT`, indicating that no parent is present anymore. Alternatively, these checks could be done in user code, but it will make it too cumbersome.
* test: add test for close protectionFedor Indutny2016-06-031-0/+68