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

◆ Unregister()

unsafe void System.Runtime.InteropServices.PosixSignalRegistration.Unregister ( )
inlineprivate

Definition at line 74 of file PosixSignalRegistration.cs.

75 {
77 {
78 Token token = _token;
79 if (token != null)
80 {
81 _token = null;
82 s_registrations.Remove(token);
84 {
86 }
87 }
88 }
89 }
static unsafe bool SetConsoleCtrlHandler(delegate *unmanaged< int, BOOL > HandlerRoutine, bool Add)
static Exception GetExceptionForLastWin32Error(string path="")

References System.Runtime.InteropServices.PosixSignalRegistration._token, System.Add, System.IO.Win32Marshal.GetExceptionForLastWin32Error(), System.Runtime.InteropServices.PosixSignalRegistration.HandlerRoutine(), System.Runtime.InteropServices.PosixSignalRegistration.s_registrations, and Interop.Kernel32.SetConsoleCtrlHandler().

Referenced by System.Runtime.InteropServices.PosixSignalRegistration.~PosixSignalRegistration(), and System.Runtime.InteropServices.PosixSignalRegistration.Dispose().