Skip to content

Commit

Permalink
register ShutdownThread in doStart
Browse files Browse the repository at this point in the history
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
  • Loading branch information
lachlan-roberts committed Dec 22, 2020
1 parent 97bbec7 commit 374e02c
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -60,7 +60,13 @@ public class JavaxWebSocketClientContainer extends JavaxWebSocketContainer imple
public JavaxWebSocketClientContainer()
{
this(new WebSocketComponents());
}

@Override
protected void doStart() throws Exception
{
ShutdownThread.register(this);
super.doStart();
}

@Override
Expand Down

0 comments on commit 374e02c

Please sign in to comment.