mirror of https://github.com/lukechilds/node.git
Browse Source
uv_close() is an asynchronous operation. Calling it on a data member inside the destructor is unsound because its memory is about to be reclaimed but libuv is not done with it yet. PR-URL: https://github.com/nodejs/node/pull/7907 Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Eugene Ostroukhov <eostroukhov@chromium.org> Reviewed-By: James M Snell <jasnell@gmail.com>v6.x
Ben Noordhuis
9 years ago
committed by
cjihrig
1 changed files with 13 additions and 10 deletions
Loading…
Reference in new issue