Fixing code issues.
This commit is contained in:
parent
761eedd731
commit
c2f1372652
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue