mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
[bug] Fix bug 60982
This commit is contained in:
@ -3357,7 +3357,8 @@ exports.install = function(server, callbackFunction) {
|
||||
var connectionsTmp = connections.slice();
|
||||
//destroy all open connections
|
||||
for (i = 0; i < connectionsTmp.length; ++i) {
|
||||
connectionsTmp[i].close(constants.SHUTDOWN_CODE, constants.SHUTDOWN_REASON);
|
||||
sendDataDisconnectReason(ctx, connectionsTmp[i], constants.SHUTDOWN_CODE, constants.SHUTDOWN_REASON);
|
||||
connectionsTmp[i].disconnect(true);
|
||||
}
|
||||
}
|
||||
ctx.logger.warn('end shutdown');
|
||||
|
||||
Reference in New Issue
Block a user