Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lein check should call (shutdown-agents) #2726

Open
vemv opened this issue Feb 12, 2021 · 1 comment
Open

lein check should call (shutdown-agents) #2726

vemv opened this issue Feb 12, 2021 · 1 comment

Comments

@vemv
Copy link
Contributor

vemv commented Feb 12, 2021

lein check can hang forever in presence of (relatively) well-behaved Clojure code:

(defonce runner
  (future
    (while (not (-> (Thread/currentThread) .isInterrupted))
      ,,,
      (Thread/sleep 50))))

Accordingly I believe check.clj should invoke (shutdown-agents) by the end of its execution.

WDYT?

Thanks - V

@technomancy
Copy link
Owner

technomancy commented Feb 18, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants