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

◆ Dispose() [2/2]

unsafe override void System.Net.AsyncRequestContext.Dispose ( bool disposing)
inlineprotectedvirtual

Reimplemented from System.Net.RequestContextBase.

Definition at line 52 of file AsyncRequestContext.cs.

53 {
54 if (_nativeOverlapped != null && (!Environment.HasShutdownStarted || disposing))
55 {
57 }
58 base.Dispose(disposing);
59 }
ThreadPoolBoundHandle _boundHandle
unsafe NativeOverlapped * _nativeOverlapped
unsafe void FreeNativeOverlapped(NativeOverlapped *overlapped)

References System.Net.AsyncRequestContext._boundHandle, System.Net.AsyncRequestContext._nativeOverlapped, System.Threading.ThreadPoolBoundHandle.FreeNativeOverlapped(), and System.Environment.HasShutdownStarted.