diff options
author | Keuin <[email protected]> | 2022-09-24 11:44:51 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2022-09-25 19:31:34 +0800 |
commit | 1f697291f91aec5f76e017ae955822356adb22ad (patch) | |
tree | 52528bcaa5cfffe63bd293320acaec129070f5ce /src/main/java/com/keuin/psmb4j/BaseClient.java | |
parent | fac973923d378c7111ba04114ca145b7ba03dfb9 (diff) |
Diffstat (limited to 'src/main/java/com/keuin/psmb4j/BaseClient.java')
-rw-r--r-- | src/main/java/com/keuin/psmb4j/BaseClient.java | 1 |
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; } } |