Closed SimonSimCity closed 7 years ago
Here's a fix for something I ran into while playing with https://github.com/nlhuykhang/meteor-publish-join.
If an error occurs in the callback of PublicationCollector.collect() the stop method of the publication is never called.
PublicationCollector.collect()
stop
This code makes sure that the error is thrown on (as before) and that the stop method of the publication is called.
Great, thanks!
Here's a fix for something I ran into while playing with https://github.com/nlhuykhang/meteor-publish-join.
If an error occurs in the callback of
PublicationCollector.collect()
thestop
method of the publication is never called.This code makes sure that the error is thrown on (as before) and that the
stop
method of the publication is called.