Skip to content

Memory leak #816

Closed
Closed
@GregoryBeresfordBrown

Description

@GregoryBeresfordBrown

What did you do?

Created and destroyed multiple ChatClients

What did you expect to happen?

Only one active instance to remain in memory

What happened instead?

All instances remained

GetStream Environment

Not relevant

Additional context

Image

Activity

martinmitrevski

martinmitrevski commented on Apr 25, 2025

@martinmitrevski
Contributor

Hi,

I just checked this, and there are no leaks of the chat client.
Image

You should logout and nil out the object when destroying it. Please check our demo app for details.

Best, Martin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @martinmitrevski@GregoryBeresfordBrown

        Issue actions

          Memory leak · Issue #816 · GetStream/stream-chat-swiftui