mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
Merge pull request #2088 from simong/padUsersCallback
Addressed a potential never finishing forEach in PadMessageHandler.padUsers
This commit is contained in:
commit
8b572b888c
1 changed files with 2 additions and 0 deletions
|
@ -1570,6 +1570,8 @@ exports.padUsers = function (padID, callback) {
|
||||||
result.push(author);
|
result.push(author);
|
||||||
callback();
|
callback();
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
callback();
|
||||||
}
|
}
|
||||||
}, function(err) {
|
}, function(err) {
|
||||||
if(ERR(err, callback)) return;
|
if(ERR(err, callback)) return;
|
||||||
|
|
Loading…
Reference in a new issue