stop death on no session
parent
e9686c0d93
commit
6fea3a25f8
|
@ -838,10 +838,10 @@ exports.updatePadClients = function(pad, callback)
|
|||
|
||||
client.json.send(wireMsg);
|
||||
}
|
||||
|
||||
sessioninfos[sid].time = currentTime;
|
||||
sessioninfos[sid].rev = r;
|
||||
|
||||
if(sessioninfos[sid]){
|
||||
sessioninfos[sid].time = currentTime;
|
||||
sessioninfos[sid].rev = r;
|
||||
}
|
||||
callback(null);
|
||||
}
|
||||
], callback);
|
||||
|
|
Loading…
Reference in New Issue