Skip to content

Commit b1fd0ce

Browse files
authored
Merge pull request TooTallNate#781 from marci4/Issue773
Null the reference of the WebSocketImpl
2 parents e59a0bb + 32d82b9 commit b1fd0ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/main/java/org/java_websocket/server/WebSocketServer.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,8 +915,8 @@ public void run() {
915915
} catch(Exception e){
916916
log.error("Error while reading from remote connection", e);
917917
}
918-
919918
finally {
919+
ws = null;
920920
pushBuffer( buf );
921921
}
922922
}

0 commit comments

Comments
 (0)