C#C
C#2y ago
Mehdi

SignalR Blocking Issue: Infinite Wait When Calling a Method from Client

Hello here is a Hub I implemented, the goal is to make a board game turn system, the most important part is in the method LaunchGame.

I ask in the while loop two question "PiocheRequest" and "CoordRequest".
The functions works well for the first 2 player in the loop. But at the third, the client send it successfully but the server is blocked and don't trigger PiocheResponse.

What I tried: Using locks, mutexes because I think it's a threading problem but it didn't gave me a different result.

Many thanks in advance,
message.txt14.37KB
Was this page helpful?