Permalink
Browse files

Merge pull request #2088 from simong/padUsersCallback

Addressed a potential never finishing forEach in PadMessageHandler.padUsers
  • Loading branch information...
2 parents ca8dce1 + cfdd57b commit 8b572b888cb2dbc324894a2399b2159a1d451943 @marcelklehr marcelklehr committed Feb 26, 2014
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/node/handler/PadMessageHandler.js
@@ -1570,6 +1570,8 @@ exports.padUsers = function (padID, callback) {
result.push(author);
callback();
});
+ } else {
+ callback();
}
}, function(err) {
if(ERR(err, callback)) return;

0 comments on commit 8b572b8

Please sign in to comment.