Merge pull request #2088 from simong/padUsersCallback
Addressed a potential never finishing forEach in PadMessageHandler.padUserspull/2101/head
commit
8b572b888c
|
@ -1570,6 +1570,8 @@ exports.padUsers = function (padID, callback) {
|
|||
result.push(author);
|
||||
callback();
|
||||
});
|
||||
} else {
|
||||
callback();
|
||||
}
|
||||
}, function(err) {
|
||||
if(ERR(err, callback)) return;
|
||||
|
|
Loading…
Reference in New Issue