Skip to content

Remove empty matches #21

@DColadas

Description

@DColadas

When a websocket is closed, it is removed from the match it was in. However, empty matches do not get removed from MatchManager, and so continue to exist even if they are empty. While there is still not a way to define custom settings for a match, not deleting matches does not only take memory but would keep custom settings defined.

A way to solve this is by leaving a match through MatchManager, instead of by calling MatchHandler's leave(). Whenever a match is removed, a log message should be output, too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomerslow priorityIssue that would add low value in the short term

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions