-
Notifications
You must be signed in to change notification settings - Fork 16
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
Derefing a future hangs #29
Comments
Workaround: adding |
@vemv Could you try adding |
Tried out! Unfortunately it didn't work:
This prints :a, :b then hangs forever. This doesn't happen in a project created from scratch. But in a real production project there are too many dependencies to determine the culprit. Perhaps the simplest thing would be to recommend Cheers - Victor |
I'm not sure what the problem could be - does the code you call launch a thread-pool that you are not shutting down in your script? When I execute |
I have a
fix.clj
with the following contents:Where
@
is used to wait on a future.lein exec -p scripts/formatting/fix.clj
hangs forever. If I run the same exact code inlein repl
, it won't.What could it be going on here?
Cheers - Victor
The text was updated successfully, but these errors were encountered: