diff options
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -21,7 +21,8 @@ | |||
| 21 | touched. The session is the audit trail for the deduction; without it the | 21 | touched. The session is the audit trail for the deduction; without it the |
| 22 | deduction is orphaned. | 22 | deduction is orphaned. |
| 23 | - Clean up sessions on client disconnect. If a game is in progress when the | 23 | - Clean up sessions on client disconnect. If a game is in progress when the |
| 24 | connection drops, the server must roll back the bet. | 24 | connection drops, settle it as a forfeit (the reserved bet is lost) and |
| 25 | record the play; never refund an active hand. | ||
| 25 | 26 | ||
| 26 | ## Server Handler | 27 | ## Server Handler |
| 27 | - Never hold a lock, drop it, then re-acquire it in the same function to | 28 | - Never hold a lock, drop it, then re-acquire it in the same function to |
