Skip to content

Commit 1b7e857

Browse files
committed
Add missing type hint on websocket-server-handler
1 parent 49fce37 commit 1b7e857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aleph/http/server.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@
683683
(netty/release msg)
684684
;; reusing the same buffer
685685
;; will be deallocated by Netty
686-
(.close handshaker ch msg))
686+
(.close handshaker ch ^CloseWebSocketFrame msg))
687687

688688
:else
689689
;; no need to release buffer when passing to a next handler

0 commit comments

Comments
 (0)