workflow-kotlin
workflow-kotlin copied to clipboard
wrap Activity and Compose rules in LeakCanary checks on both sides
I'm open to bike-shedding the name. 😄
fixes #657
One thing to note: all the changes here (and in internal forks of the rule) have been backported to LeakCanary which will soon be released as 2.9. You'll need to adapt the code a bit but should be able to delete this custom rule.
https://github.com/square/leakcanary/blob/main/leakcanary-android-instrumentation/src/main/java/leakcanary/DetectLeaksAfterTestSuccess.kt
@RBusarow Any plans to update this to LC 2.9 and get it merged?
@RBusarow Any plans to update this to LC 2.9 and get it merged?
Yeah, I'll get this updated soon. I took a stab at it a while ago and was running into leaks in the compose activity rule, but didn't have the time to dig into it.