Calling Close() was invoking a cancellation token to tell each adapter to stop doing whatver it was doing. But when we do this, the adapters enter an "aborted" state. Then later in the code we try to Close() the adapter, but Aborted means the socket cannot do anything else, even close or reopen, so the adapter either throws an exception (stdlibadapter) or the task never resolves (ninja).
Fixed tests to account for a change in how the server both calculates party size and prioritizes matchmaking when more than the minimum are starting a search.
Calling
Close()
was invoking a cancellation token to tell each adapter to stop doing whatver it was doing. But when we do this, the adapters enter an "aborted" state. Then later in the code we try toClose()
the adapter, butAborted
means the socket cannot do anything else, even close or reopen, so the adapter either throws an exception (stdlibadapter) or the task never resolves (ninja).Fixed tests to account for a change in how the server both calculates party size and prioritizes matchmaking when more than the minimum are starting a search.