Jake Cyr
Nov 6, 2020

--

Hi Kimberly — Thank you for your response. You are correct that the HttpClient does not cause a resource leak by default, but some developers like to cancel requests that are no longer required after changing pages (ex. retrieving list of emails from backend and changing pages before it has finished). Not cancelling expensive and long requests that you will no longer use can take up memory and increase the load on your backend.

--

--

Jake Cyr
Jake Cyr

Written by Jake Cyr

Proficient in AI and cloud tech, advancing systems development with a commitment to continual growth.

No responses yet