Skip to content

Ramdebug's get_samples and get_channels functions return the internal list object instead of a copy of it #115

@ghost

Description

When using the functions get_samples() or get_channels() the lists internal to the class are returned.
This can cause some problems if the externally assigned variable is modified in any way.

I think returning a copy of the internal lists instead of the lists themselves should prevent any related issues.

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