9f529f7
Branches > namespace-reorganization > 9f529f7 > files / .gitignore
Move idk how to explain this whatever
Commit: 9f529f762a7954ca1807a8fc9b4b7425441c1363
Parent: 628768c
1 changed file:
src/net/bowmap/core.clj view file
@@ -30,12 +30,12 @@ Packets are parsed and handled synchronously as packet decoding can update client state, so is impure." [client bs]- (ByteBuf/.writeBytes (::buf client) bs)- (try (handle-packet client)- (catch Exception e- (prn "Exception in bytes:" e)- ;; Can disconnect as well :)- (.close (::stream client)))))+ (try+ (ByteBuf/.writeBytes (::buf client) bs)+ (handle-packet client)+ (catch Exception e+ (prn "Exception in bytes:" e)+ (.close (::stream client))))) (defn client-handler [stream _] (let [client {::state/state ::state/handshaking