From a18e32cd5ee697440a1e0258806ecc8065fabc18 Mon Sep 17 00:00:00 2001 From: Scot Brown Date: Tue, 11 Feb 2020 20:05:43 -0500 Subject: [PATCH] Update home.clj --- .../src/clj/multi_client_ws_http_kit/routes/home.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multi-client-ws-http-kit/src/clj/multi_client_ws_http_kit/routes/home.clj b/multi-client-ws-http-kit/src/clj/multi_client_ws_http_kit/routes/home.clj index 6f29706..0ff9d8e 100644 --- a/multi-client-ws-http-kit/src/clj/multi_client_ws_http_kit/routes/home.clj +++ b/multi-client-ws-http-kit/src/clj/multi_client_ws_http_kit/routes/home.clj @@ -18,7 +18,7 @@ (defn disconnect! [channel status] (log/info "channel closed:" status) - (swap! channels #(remove #{channel} %))) + (swap! channels disj channel)) (defn ws-handler [request] (with-channel request channel