summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/com/isode/stroke/network/JavaConnection.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/isode/stroke/network/JavaConnection.java b/src/com/isode/stroke/network/JavaConnection.java
index efbf54f..2069e33 100644
--- a/src/com/isode/stroke/network/JavaConnection.java
+++ b/src/com/isode/stroke/network/JavaConnection.java
@@ -132,6 +132,7 @@ public class JavaConnection extends Connection implements EventOwner {
if(socketChannel_ != null) {
try {
socketChannel_.close();
+ selector_.close();
} catch (IOException ex) {
/* Do we need to return an error if we're already trying to close? */
}