Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | src: error or NULL links they happen on close | Fedor Indutny | 2016-06-03 | 1 | -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 protection | Fedor Indutny | 2016-06-03 | 1 | -0/+68 |