register ShutdownThread in doStart

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
Lachlan Roberts 2020-12-22 15:53:10 +11:00
parent 97bbec7ac0
commit 374e02cbc3
1 changed files with 6 additions and 0 deletions

View File

@ -60,7 +60,13 @@ public class JavaxWebSocketClientContainer extends JavaxWebSocketContainer imple
public JavaxWebSocketClientContainer() public JavaxWebSocketClientContainer()
{ {
this(new WebSocketComponents()); this(new WebSocketComponents());
}
@Override
protected void doStart() throws Exception
{
ShutdownThread.register(this); ShutdownThread.register(this);
super.doStart();
} }
@Override @Override