paper-dynasty-discord/command_logic
Cal Corum 1a9efa8f7e fix: add locked_play context manager to prevent stuck play locks
Early returns in log_chaos, log_sac_bunt, and log_stealing left play
locks permanently stuck because the lock was acquired but never released.
The new locked_play async context manager wraps checks_log_interaction()
and guarantees lock release on exception, early return, or normal exit.

Migrated all 18 locking commands in gameplay.py and removed redundant
double-locking in end_game_command.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 21:54:44 -06:00
..
__init__.py fix: add locked_play context manager to prevent stuck play locks 2026-02-10 21:54:44 -06:00
logic_gameplay.py fix: validate player positions in lineup before game start 2026-02-07 19:32:27 -06:00
play_context.py fix: add locked_play context manager to prevent stuck play locks 2026-02-10 21:54:44 -06:00