glebdmitriew / node-unzip-2

node.js cross-platform unzip using streams
MIT License
44 stars 39 forks source link

issue #4 bugfix #5

Closed binarybro closed 6 years ago

binarybro commented 9 years ago

Parser's flush callback was called after emitting 'close'-event.

SlashmanX commented 9 years ago

Any chance of this getting merged? It's pretty important

dvalentiate commented 8 years ago

This seems like an appropriate change. The 'close' event should not happen until after the done callback has been given a chance to operate.