morris / vinyl-ftp

Blazing fast vinyl adapter for FTP
Other
388 stars 31 forks source link

'data' event of stream still fires after 'finish' event fired #44

Closed nekolab closed 8 years ago

nekolab commented 8 years ago

The stream returned by conn.**** fires finish event too early, the data event still fires after finish fired. It's wired, can we fix it?

morris commented 8 years ago

Quick guess, use "end" instead of "finish"

nekolab commented 8 years ago

Yes!!! It works!!! My bad, I just noticed it's a readable stream Thanks~