Skip to content

Commit 32d82b9

Browse files
committed
Null the reference of the WebSocketImpl
1 parent e7226c0 commit 32d82b9

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)