Inject context with Hilt: this field leaks a context object

After I faced that warning

enter image description here

I decided to profile memory to be guaranteed that the approach causes a memory leak, but what I found is quite interesting

enter image description here

yeah, there is no leak it’s just a warning so don’t care about it anymore, happy coding 😉

Leave a Comment