Closed georgbuechner closed 2 years ago
While audio is analyzing, the shared-mutex games_
in websocket-server is blocked (as with every in-game action).
For this reason, all other in-game actions (like running games) can continue without any problems, but some other actions (all where a unique-lock is applied) are blocked:
OnClose()
after removing connection, has to wait to access game (game->PlayerResigned()
) till mutex is unlockedWebsocketServer::m_InitializeGame
)WebsocketServer::m_InitializeGame
)
Some different errors accure:
This might have several reasons which should be checked: