-
Notifications
You must be signed in to change notification settings - Fork 123
Leaking promise created at ConnectionPool.swift line 373 #179
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
Comments
Hmm, this error could well be caused by a path where promises can be leaked if creating async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift Lines 634 to 645 in 9cdd1dc
|
(The same logic applies to the return value of |
@Lukasa For reference I create a connection to |
Heh, yup, that promise can also be leaked if the connection attempt fails. |
Lots of ways to leak that promise it seems. |
Okay, besides the fact, that we shouldn't leak I found the issue, why it was happening to me. I tried to connect to |
Yup, that sounds right. |
CC @adtrevor |
@fabianfett Thank you for reporting the issue, #180 should fix it 🙂 |
Hi,
I just checked out the current master commit
9cdd1dc
and wanted to test it with my lambda-runtime.When building for macOS in DEBUG, I ran immediately into a fatalError:
This happens on the first invocation of
execute
.I haven't found a similar issue here, so that's why I created one.
The text was updated successfully, but these errors were encountered: