Closed JoshLove-msft closed 2 years ago
If the token was canceled before ReceiveAsyncResult was finished being constructed, the waiterlist would not be properly cleaned up.
Moved into the Intialize method that is already used for setting up the timer.
Also updated the receive cancellation tests to assert that a TCE is thrown.
/cc @xinchen10 @jsquire
If the token was canceled before ReceiveAsyncResult was finished being constructed, the waiterlist would not be properly cleaned up.
Moved into the Intialize method that is already used for setting up the timer.
Also updated the receive cancellation tests to assert that a TCE is thrown.