Skip to content

add a check to clean up old dead gameinstances #15

@Jared-Sprague

Description

@Jared-Sprague

if the game instance is still in the game instances array but has been dead for some time:

  • gameinstance.destroy() should be called that disconnects any player sockets held in it
  • removes it from the array

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