Skip to content
Snippets Groups Projects
Commit ba00ba35 authored by Paul-Christian Volkmer's avatar Paul-Christian Volkmer
Browse files

Log websocket close on application shutdown

parent 24348326
Branches
Tags
No related merge requests found
......@@ -66,6 +66,7 @@ public class ARSnovaSocketIOServer {
@PreDestroy
public void closeAllSessions() {
LOGGER.info("Close all websockets due to @PreDestroy");
for (SocketIOClient c : server.getAllClients()) {
c.disconnect();
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment