You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AHC however never calls .shutdownGracefully/.syncShutdownGracefully on that pool. That means the user has to provide a NIOThreadPool, or else we'll just leak it (because AHC never calls stop).
Ie. in the default use case we
spawn a fresh thread per download
and then leak the thread
😭
The text was updated successfully, but these errors were encountered:
FileDownloadDelegate
callspool.start()
on aNIOThreadPool
that is either provided by the user or by AHC itself throughAHC however never calls
.shutdownGracefully
/.syncShutdownGracefully
on that pool. That means the user has to provide aNIOThreadPool
, or else we'll just leak it (because AHC never calls stop).Ie. in the default use case we
😭
The text was updated successfully, but these errors were encountered: