jalik / meteor-jalik-ufs-gridfs

GridFS store for UploadFS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`Finish` event emits twice

jdme opened this issue · comments

commented

Hello!

Since v3.6.6 of npm mongodb library gridfs-stream emits close event along with finish event. The behaviour is changed by this commit. But in your jalik:ufs-gridfs library finish event emitting manually after close here, as a result we have finish event emitted 2 times.

So at this moment to work properly npm-mongo package of meteor should be at version v3.8.1 or less, since it depends on older version of mongodb.

@jdme thanks for your precise report and sorry for the very late response.
The issue has been fixed in the latest release 1.0.4.