diff --git a/2024/08/chat_demo1/chat_demo1_web/src/main/java/ch/polgrabia/demos/client/WebsocketClientParticle.java b/2024/08/chat_demo1/chat_demo1_web/src/main/java/ch/polgrabia/demos/client/WebsocketClientParticle.java index 0909d7a..1852f44 100644 --- a/2024/08/chat_demo1/chat_demo1_web/src/main/java/ch/polgrabia/demos/client/WebsocketClientParticle.java +++ b/2024/08/chat_demo1/chat_demo1_web/src/main/java/ch/polgrabia/demos/client/WebsocketClientParticle.java @@ -30,7 +30,7 @@ public class WebsocketClientParticle extends AbstractVerticle { } @Override - public void start() throws Exception { + public void start() { this.client = getVertx() .createHttpClient(); new WebSocketClientImpl((VertxInternal) getVertx(), new HttpClientOptions(), new CloseFuture()) @@ -67,7 +67,7 @@ public class WebsocketClientParticle extends AbstractVerticle { } @Override - public void stop() throws Exception { + public void stop() { isShuttingDownActivated = true; client.close(); synchronized (runningMonitor) {