Skip to content

Memory leak in Gamepad.GetState #3

@murilopontes

Description

@murilopontes

I'm testing for hours:

        GamePadState state_now = GamePad.GetState(PlayerIndex.One, GamePadDeadZone.Circular);
        GamePadState state_pre = GamePad.GetState(PlayerIndex.One, GamePadDeadZone.Circular);
        while (true)
        {
            state_pre = state_now;
            state_now = GamePad.GetState(PlayerIndex.One, GamePadDeadZone.Circular);
       }

And about 15 minutes, memory use is about 2GB.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions