-
Notifications
You must be signed in to change notification settings - Fork 26
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
Application won't close after Api.get #38
Comments
The Java kit is a completely different code base, so it's not really surprising. Could you give me some code snippet where you can consistently reproduce the problem? |
Here is an example https://gist.github.com/zipon/224455e586acbc205419 |
I see, it's probably in the HttpClient: https://github.com/prismicio/scala-kit/blob/master/src/main/scala/io/prismic/HttpClient.scala |
Looks like you're not closing the channels? When googling I came across the following: |
I think |
Hi
When running
sbt run
the main method does not exit afterapi.get(...).onComplete()
but instead hangs. It seems some thread is still active and not cleaned up. I don't see this behaviour in the Java kit.The text was updated successfully, but these errors were encountered: