Closed
Description
'finish'
can be emitted after'close'
ifdestroy()
is called inside a'prefinish'
handler.'prefinish'
has different timing (sync vs async) depending on whetherWritable
implements_final
which can cause problems such as above to occur or not occur. (stream: simplify Transform stream implementation #32763)
I assume 'prefinish'
is mostly used internally so it's probably not a huge issue.