()
| 24724 | |
| 24725 | // Both close and finish should trigger unpipe, but only once. |
| 24726 | function onclose() { |
| 24727 | dest.removeListener('finish', onfinish); |
| 24728 | unpipe(); |
| 24729 | } |
| 24730 | dest.once('close', onclose); |
| 24731 | function onfinish() { |
| 24732 | debug('onfinish'); |