Skip to content

Commit

Permalink
Fixed another compilation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
shai-almog authored Nov 4, 2023
1 parent 2cec4c5 commit 9a53f45
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CodenameOne/src/com/codename1/io/Socket.java
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,10 @@ public void close() throws IOException {
throw new RuntimeException(e.getMessage());
}
}
input = null;
output = null;
if(Util.getImplementation().isSocketConnected(connection[0])) {
Util.getImplementation().disconnectSocket(connection[0]);
}
connection[0] = null;
}
};
}
Expand Down

0 comments on commit 9a53f45

Please sign in to comment.