mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +01:00
259357a818
Two cases dealt with here. First, if my opponent deletes the game when I have an un-ack'd message, I'll keep sending it forever. Fix is to flip a bit in comms in response to a game_gone event so no more sending will happen. (Better than emptying the queue, as it leaves open the possibility of resurrecting the game with code changes later.) Second, if there's a retained message from a dead game I'll keep receiving it until it's replaced, and if the game's dead it never will be. Fix is to add a new api endpoint noSuchGame() to the relay2 server and to call it on receiving a message for which I have no game to deliver it to. The endpoint "unretains" the message so I won't get it again unless it's resent. |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
debug.keystore | ||
proguard-rules.pro |