clojure-emacs / logjam

An interactive, nrepl-oriented logging backend
Eclipse Public License 1.0
1 stars 0 forks source link

Handle `java.net.SocketException`s that can be thrown for disconnected clients #17

Closed vemv closed 5 months ago

vemv commented 5 months ago

Fixes https://github.com/clojure-emacs/logjam/issues/16 (repro can be found there)

The chosen approach was to turn :consumers into an atom, so that one can easily remove 'stale' consumers that represent disconnected nREPL clients.

Cheers - V

bbatsov commented 5 months ago

LGTM as well.

vemv commented 5 months ago

ty both!

New release soon.