diff options
author | Robert Nagy <ronagy@icloud.com> | 2020-04-13 12:18:56 +0300 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2020-04-17 20:43:39 +0300 |
commit | ed4fbefb71797bbd0a686cdbbc8425ee41876b30 (patch) | |
tree | d5fdb134ed0f04f9318b1d44a92fbf3ec765eb05 /doc/api | |
parent | 4bb29ed044d79bc945af713779d2defbfc189aed (diff) |
fs: use finished over destroy w/ cb
destroy w/ is undocumented API which also will cause
a race if the stream is already destroying and potentially
invoking the callback too early and withou error.
PR-URL: https://github.com/nodejs/node/pull/32809
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Diffstat (limited to 'doc/api')
0 files changed, 0 insertions, 0 deletions