I'm getting a leak that seems related to the navHo...
# compose
r
I'm getting a leak that seems related to the navHostController: the MainActivity gets leaked after the second time the orientation changes, but only after navigating to a new destination using the navHostController. I already asked around (StackOverflow and /r/androiddev) and other devs seem to agree that this could be an issue with the compose navigation library. I already opened an issue on the tracker (https://issuetracker.google.com/issues/204905432) but I was wondering if someone here could have a look at the repro project and confirm that I'm not doing anything wrong and it's actually a bug of the library: https://github.com/leinardi/AndroidTemplateProject/tree/leak