stream: don't call `cleanup` twice on `end` and `close`
authorMaciej Małecki <maciej.malecki@notimplemented.org>
Sun, 27 May 2012 21:29:00 +0000 (23:29 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Sun, 27 May 2012 23:35:36 +0000 (01:35 +0200)
commitc96df0e37aed536867a41e8b6d3f0f523c37dfea
tree658a1df81cab3c3e2a7fc8a492f90ae236a25db3
parent0fd28345392c2a16dfe143d2467ab14a236ce3c3
stream: don't call `cleanup` twice on `end` and `close`
lib/stream.js