Skip to content

Commit

Permalink
Merge pull request #477 from marci4/master
Browse files Browse the repository at this point in the history
Fix for #222
  • Loading branch information
marci4 committed May 8, 2017
2 parents d7b9ab7 + dafe5d5 commit 16c79ea
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/org/java_websocket/server/WebSocketServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,12 @@ public void run() {
onStart();
} catch ( IOException ex ) {
handleFatal( null, ex );
//Shutting down WebSocketWorkers, see #222
if( decoders != null ) {
for( WebSocketWorker w : decoders ) {
w.interrupt();
}
}
return;
}
try {
Expand Down

0 comments on commit 16c79ea

Please sign in to comment.