Skip to content
This repository was archived by the owner on Aug 22, 2018. It is now read-only.
This repository was archived by the owner on Aug 22, 2018. It is now read-only.

GameSystemCollection.Remove doesn't remove item from underlying updateableGameSystems and drawableGameSystems lists #666

@guygodin

Description

@guygodin

The AddGameSystem call specifies a ProfilingKey as the KeyValuePair.Value while the Remove call specifies null as the value; therefore the item doesn't get removed.

var key = new KeyValuePair<IUpdateable, ProfilingKey>(updateableSystem, null);

var key = new KeyValuePair<IDrawable, ProfilingKey>(drawableSystem, null);

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