You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When server start fails because address is already in use, it calls stop which causes a null pointer exception because selector is not yet initialized.
This exception causes the server not to interrupt its web socket workers.
When server start fails because address is already in use, it calls stop which causes a null pointer exception because
selector
is not yet initialized.This exception causes the server not to interrupt its web socket workers.
Expected Behavior
cleanup web workers if server start fails
Current Behavior
Leaves the workers running
Possible Solution
In WebSocket server stop(int) method
change to:
Steps to Reproduce (for bugs)
1.Start a server
2. Start a second server with the same address
3. Once it fails the Worker threads are still alive
4.
Debug log (for bugs)
Context
Your Environment
The text was updated successfully, but these errors were encountered: