Skip to content

Structure declared as stack variable? #12

@Frank-Bemelman

Description

@Frank-Bemelman

Not sure if this is correct. At line 403 of SonosUPnp.ccp, in function getTrackInfo, a local variable trackInfo is declared, filled with data, and then returned.

It seemed to cause odd crashes in my code, when the Sonos box is switched off. Should this variable (a structure of all sorts) not be declared globally?

Otherwise, very happy with this library, many thanks.

Cheers, Frank

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