lisai17@sina.com 2021-01-23 10:06:06 +08:00
parent ec46bb7973
commit 2ae1c7c228
2 changed files with 8 additions and 3 deletions

View File

@ -128,9 +128,13 @@ public class SocketIOService {
log.debug("开始销毁 socket.io client" + server.getAllClients().size());
while (iterator.hasNext()) {
SocketIOClient client = iterator.next();
client.disconnect();
log.debug("销毁 socket.io client" + client);
try {
SocketIOClient client = iterator.next();
client.disconnect();
log.debug("销毁 socket.io client" + client);
} catch (Exception e) {
log.error(e.getMessage(), e);
}
}
server.stop();

View File

@ -50,6 +50,7 @@ public class AuthInterceptor implements Interceptor {
add("/customer/edit");
add("/sysuser/edit");
add("/sysuser/modpwd");
}});
}