Skip to content

Commit

Permalink
[fix] [Undertow adapter] Ajax channel on-close call argument was wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
ptaoussanis committed Mar 7, 2023
1 parent 5102a3d commit 2a91ad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/taoensso/sente/server_adapters/undertow.clj
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
(sch-send! [sch websocket? msg] (async/put! resp-ch msg (fn [_] (i/sch-close! sch))))
(sch-open? [sch] @open?_)
(sch-close! [sch]
(when on-close (on-close resp-ch false nil))
(when on-close (on-close sch false nil))
(reset! open?_ false)
(async/close! resp-ch))

Expand Down

0 comments on commit 2a91ad4

Please sign in to comment.