I have an application which I run with "lein run". The main looks something like this
(defn -main [] (log/info "start") (log/info "channel returned" (async/<!! (start-server (socket-server 9121) (websocket-server 9122)))) (log/info "quit")) start-server returns a channel created with async/reduce which shouldn't ever produce a value. I see the "start" logged, the application runs for a day or two (not sure if the time is always the same) and then it closes without any errors or without logging "channel returned" or "quit". If there is an error in my code and the program quits I should see the "quit" message. If there is a memory leak or something I would assume I'd get an error message. Has anyone experienced anything similar? Could the reason be running it with lein (I haven't tried a jar)? If so, why? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.