diff --git a/src/java/com/wolfssl/provider/jsse/WolfSSLSocket.java b/src/java/com/wolfssl/provider/jsse/WolfSSLSocket.java index bae4ef2a..20ea3444 100644 --- a/src/java/com/wolfssl/provider/jsse/WolfSSLSocket.java +++ b/src/java/com/wolfssl/provider/jsse/WolfSSLSocket.java @@ -2441,7 +2441,6 @@ protected void close(boolean closeSocket) throws IOException { } } - this.socket = null; this.isClosed = true; /* Reset "is closing" state to false, now closed */ @@ -2660,7 +2659,6 @@ protected void close(boolean closeSocket) throws IOException { } } - this.socket = null; this.isClosed = true; /* Reset "is closing" state to false, now closed */