Open ronnybremer opened 1 month ago
In the example code you are allocating a new HTTPClient here: https://github.com/sliemeobn/ipp-nio/blob/bad39b4b832b83bf9361e0f5ae7bfa1f9ea90ff8/Examples/PrintPDF/main.swift#L5
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.
In the example code you are allocating a new HTTPClient here: https://github.com/sliemeobn/ipp-nio/blob/bad39b4b832b83bf9361e0f5ae7bfa1f9ea90ff8/Examples/PrintPDF/main.swift#L5
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.