Merge tag 'v4.2.5' into develop

v4.2.5 v4.2.5
This commit is contained in:
Alexey Golubev
2017-01-16 15:01:18 +03:00
3 changed files with 14 additions and 11 deletions

View File

@ -1758,6 +1758,10 @@ exports.install = function(server, callbackFunction) {
var res = true;
var docId = conn.docId;
var tmpUser = conn.user;
if (constants.CONN_CLOSED === conn.readyState) {
//closing could happen during async action
return false;
}
connections.push(conn);
yield* updatePresence(docId, tmpUser.id, getConnectionInfo(conn));
var firstParticipantNoView, countNoView = 0;