Skip to content

Memory Leak on BalloonComposeView #832

@danielpartogi

Description

@danielpartogi

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.

Image

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

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions