In commit 0acaa785a55925a5310ad21166e0b66a32d6f67e, type checking for stream.unpipe was added.
But stream.unpipe(proxy) got changed to stream.unpipe(this) (typo?) and this in here is undefined, which leads to improper cleanup.
This commit reverts it to previous value.
In commit 0acaa785a55925a5310ad21166e0b66a32d6f67e, type checking for
stream.unpipe
was added. Butstream.unpipe(proxy)
got changed tostream.unpipe(this)
(typo?) andthis
in here isundefined
, which leads to improper cleanup. This commit reverts it to previous value.