78bf6c8
Branches > main > 78bf6c8 > files / src
Close both directions of connection frames when the socket closes
Commit: 78bf6c81d79d6ce4fbf1d69de3e66e0ecc3a9d09
Parent: 25fc9e1
1 changed file:
src/net/bowmap/server/network/connection.clj view file
@@ -27,6 +27,7 @@ (catch IOException _) (finally (close! serverbound-frames)+ (close! clientbound-frames) (Socket/.close socket)))) (io-thread (try@@ -37,6 +38,7 @@ (catch IOException _) (finally (close! clientbound-frames)+ (close! serverbound-frames) (Socket/.close socket)))) {::clientbound-frames clientbound-frames ::serverbound-frames serverbound-frames}))