summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/psmb4j/BaseClient.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/keuin/psmb4j/BaseClient.java')
-rw-r--r--src/main/java/com/keuin/psmb4j/BaseClient.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/keuin/psmb4j/BaseClient.java b/src/main/java/com/keuin/psmb4j/BaseClient.java
index bdcd97c..94f46cb 100644
--- a/src/main/java/com/keuin/psmb4j/BaseClient.java
+++ b/src/main/java/com/keuin/psmb4j/BaseClient.java
@@ -109,6 +109,7 @@ public abstract class BaseClient implements AutoCloseable {
try {
socket.close();
} catch (IOException ignored) {
+ } finally {
socket = null;
}
}