()
| 6722 | |
| 6723 | // Both close and finish should trigger unpipe, but only once. |
| 6724 | function onclose() { |
| 6725 | dest.removeListener('finish', onfinish); |
| 6726 | unpipe(); |
| 6727 | } |
| 6728 | dest.once('close', onclose); |
| 6729 | function onfinish() { |
| 6730 | debug('onfinish'); |