fix improperly written defstate stop function

no idea what i was thinking ...
This commit is contained in:
Gered 2022-01-05 17:57:43 -05:00
parent 4a34fab511
commit f7dbd17c89

View file

@ -175,9 +175,9 @@
(log/info (format "Started HTTP server listening on %s:%d" bind port))
server)
:stop
(when @http-server
(when http-server
(log/info "Stopping HTTP server")
(http-kit/server-stop! @http-server)
(http-kit/server-stop! http-server)
nil))
;;