summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-11-26 17:08:11 +0100
committerAnna Henningsen <anna@addaleax.net>2019-11-28 17:49:17 +0100
commit4c9db6c74150d3f5487798ca654496fdaf343422 (patch)
tree668281657a07142125eb395cbb147bba43fd21ad /test
parent5b59c248413af4e81a0616286790b3dc718107ef (diff)
downloadandroid-node-v8-4c9db6c74150d3f5487798ca654496fdaf343422.tar.gz
android-node-v8-4c9db6c74150d3f5487798ca654496fdaf343422.tar.bz2
android-node-v8-4c9db6c74150d3f5487798ca654496fdaf343422.zip
src: no SetImmediate from destructor in stream_pipe code
Guard against running `SetImmediate()` from the destructor. The object will not be alive or usable in the callback, so it does not make sense to attempt to schedule the `SetImmediate()`. PR-URL: https://github.com/nodejs/node/pull/30666 Fixes: https://github.com/nodejs/node/issues/30643 Refs: https://github.com/nodejs/node/pull/30374 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions