Skip to content

Commit

Permalink
[#337] Fix incorrect value (only udt) swapped into conns_ (@osbert)
Browse files Browse the repository at this point in the history
The value stored per client session is

  [server-channel-socket, timestamp]

but in this particular instance only the timestamp was swapped in.
  • Loading branch information
Osbert Feng authored and ptaoussanis committed Mar 22, 2019
1 parent 48923eb commit a01f264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/taoensso/sente.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@
(fn [[_sch udt-t1]]
(if (= udt-t1 udt-close)
(swapped :swap/dissoc true)
(swapped udt-t1 false))))]
(swapped [_sch udt-t1] false))))]

(when disconnect?

Expand Down

0 comments on commit a01f264

Please sign in to comment.