Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ EnsureCloseOutputOperation()

void System.Net.WebSockets.WebSocketBase.EnsureCloseOutputOperation ( )
inlineprivate

Definition at line 1414 of file WebSocketBase.cs.

1415 {
1416 if (_closeOutputOperation != null)
1417 {
1418 return;
1419 }
1420 lock (_thisLock)
1421 {
1422 if (_closeOutputOperation == null)
1423 {
1424 _closeOutputOperation = new WebSocketOperation.CloseOutputOperation(this);
1425 }
1426 }
1427 }
volatile WebSocketOperation.CloseOutputOperation _closeOutputOperation

References System.Net.WebSockets.WebSocketBase._closeOutputOperation, and System.Net.WebSockets.WebSocketBase._thisLock.

Referenced by System.Net.WebSockets.WebSocketBase.CloseOutputAsyncCore().