Platform, device and operation system
Android, Samsung Galaxy a51, android 10
What were you expecting to happen, and what actually happened
I started a move on the board, saw it wasn’t enough to keep me from dying. While the timer was running, I opened the menu to retreat. The timer kept running, animations playing, and the game continued under my pop-up.
It showed I died, offered me a chance to resurrect. (I declined.) Having lost the battle, it sent me back to the screen with retreat. Just for fun, I hit it. The game locked up.
I exited, restarted, it replayed the finishing move, and all was fine.
Still, you have a race condition you might want to resolve. I expect you have reasons for not pausing the game when the window is open. So maybe shut the open window when one dies?