4865386
Branches > main > 4865386 > files / src / net / bowmap / protocol
jk actually close the channel not the server lol
Commit: 486538673d12b6481ebd0ff637215ad9efc6927a
Parent: 2405807
1 changed file:
src/net/bowmap/transport/server.clj view file
@@ -1,6 +1,6 @@ (ns net.bowmap.transport.server (:require- [clojure.core.async :refer [>!! chan io-thread]]+ [clojure.core.async :refer [>!! chan close! io-thread]] [net.bowmap.transport.connection :as connection]) (:import [java.net ServerSocket SocketException]))@@ -27,5 +27,5 @@ (recur)) (catch SocketException _) (finally- (ServerSocket/.close server-socket))))+ (close! connections)))) connections))