Skip to content

Mem leak when releasing stream #631

@LYF1999

Description

@LYF1999

// Release the stream if it requires releasing
if stream.is_released() {
stream.remove();
}
}

There may still leave some bytes releated to the stream in

buffer: Buffer<Event>,
when Counts remove a closed Stream.
This may cause mem leak, Should we remove bytes releated to the stream in remove function?

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

    Issue actions