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

◆ FinalTeardown()

void System.Net.Http.Http2Connection.FinalTeardown ( )
inlineprivate

Definition at line 3078 of file Http2Connection.cs.

3079 {
3080 if (System.Net.NetEventSource.Log.IsEnabled())
3081 {
3082 Trace("", "FinalTeardown");
3083 }
3084 GC.SuppressFinalize(this);
3085 _stream.Dispose();
3087 _writeChannel.Writer.Complete();
3088 if (HttpTelemetry.Log.IsEnabled() && Interlocked.Exchange(ref _markedByTelemetryStatus, 2) == 1)
3089 {
3090 HttpTelemetry.Log.Http20ConnectionClosed();
3091 }
3092 }
void Dispose()
Definition Stream.cs:639
readonly Channel< WriteQueueEntry > _writeChannel
override void Trace(string message, [CallerMemberName] string memberName=null)
readonly CreditManager _connectionWindow
static readonly System.Net.NetEventSource Log
static int Exchange(ref int location1, int value)

References System.Net.Http.Http2Connection._connectionWindow, System.Net.Http.Http2Connection._markedByTelemetryStatus, System.Net.Http.Http2Connection._stream, System.Net.Http.Http2Connection._writeChannel, System.Net.Http.CreditManager.Dispose(), System.IO.Stream.Dispose(), System.Threading.Interlocked.Exchange(), System.Net.Http.HttpTelemetry.Log, System.Net.NetEventSource.Log, System.GC.SuppressFinalize(), and System.Net.Http.Http2Connection.Trace().

Referenced by System.Net.Http.Http2Connection.Dispose(), and System.Net.Http.Http2Connection.ReleaseStream().