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

Example will crash when running via Xcode #3

Closed
ronnybremer opened this issue May 12, 2024 · 0 comments
Closed

Example will crash when running via Xcode #3

ronnybremer opened this issue May 12, 2024 · 0 comments

Comments

@ronnybremer
Copy link
Contributor

In the example code you are allocating a new HTTPClient here:

httpClient: HTTPClient(configuration: .init(certificateVerification: .none)),

According to the docs of AsyncHttp, this will lead to a memory leak and if running the example app via Xcode it will be forcefully terminated due to this check:
AsyncHttp::HTTPClient

I'll open a pull request.

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

No branches or pull requests

2 participants