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

◆ SafeHandleRelease()

static void System.StubHelpers.StubHelpers.SafeHandleRelease ( SafeHandle pHandle)
inlinestaticpackage

Definition at line 92 of file StubHelpers.cs.

93 {
94 if (pHandle == null)
95 {
96 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.pHandle, ExceptionResource.ArgumentNull_SafeHandle);
97 }
98 pHandle.DangerousRelease();
99 }

References System.pHandle, and System.ThrowHelper.ThrowArgumentNullException().

Referenced by System.StubHelpers.SafeHandleCleanupWorkListElement.DestroyCore().