Balloon
Balloon copied to clipboard
Memory Leak on BalloonComposeView
Please complete the following information:
- Library Version : 1.5.4
- Affected Device(s) : should be any device
Describe the Bug:
'm using Compose implemented in a Fragment. When the Fragment reaches the onDestroyView state, it causes a memory leak, as shown in the image I attached.
Expected Behavior:
The Balloon builder should not cause a memory leak.
after i check the code it self, it seems we need make the lifecycleowner on BalloonComposeView to null on dispose of ballon
Hi @danielpartogi, I'm sorry for the late response. Have you already set the .setLifecycleOwner(lifecycleOwner) on your Balloon.Builder() when you create your own balloon?