diff options
author | Fedor Indutny <fedor@indutny.com> | 2016-06-03 13:06:48 -0400 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2016-06-03 13:06:48 -0400 |
commit | fe32ad3b58bffda1cb6e2b436e8cba64a4c6ba65 (patch) | |
tree | 1c46bb2f2e7f744cd4ca081e0ab2b5098d3620fd | |
parent | 106064e3968df9702ca9841f00703be9736a00bb (diff) | |
download | uv_link_t-fe32ad3b58bffda1cb6e2b436e8cba64a4c6ba65.tar.gz |
src: fix experiment
-rw-r--r-- | src/uv_link_t.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/uv_link_t.c b/src/uv_link_t.c index 59b5fa7..a3359cb 100644 --- a/src/uv_link_t.c +++ b/src/uv_link_t.c @@ -114,14 +114,6 @@ void uv_link_propagate_close(uv_link_t* link, uv_link_t* source, CHECK_EQ(link->child, NULL, "uv_link_t: attempt to close chained link"); - /* We are in an API call, wait for it to end before destroying everything */ - if (link->close_depth != 0) { - CHECK_EQ(link, source, "pending close_cb for non-leaf link"); - - link->saved_close_cb = cb; - return; - } - /* Find root */ count = 1; for (root = link; root->parent != NULL; root = root->parent) |