Use strings instead of keywords for game names #6
Loading…
Reference in New Issue
No description provided.
Delete Branch "seabass/matchbot:string-keys"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This pull request resolves issue #2.
Commits
Use strings instead of keywords for game names
This commit changes the internal representation of game names in the state data to be strings instead of keywords. This fixes a potential memory leak relating to games that no longer have any players, since strings, unlike keywords, are garbage collected when no longer in use.
@sm2n, please could you confirm that this resolves the issue you raised in #2? Then I'll make the 1.0.1 release. Thank you!
LGTM
Thanks @sm2n! 😃