Переглянути джерело

Update variable name for consistency

jluce50 10 роки тому
батько
коміт
09d53e3c95

+ 1 - 1
MediaBrowser.ServerApplication/Native/WindowsProcessManager.cs

@@ -33,7 +33,7 @@ namespace MediaBrowser.ServerApplication.Native
         static extern int ResumeThread(IntPtr hThread);
         [DllImport("kernel32.dll")]
         [return: MarshalAs(UnmanagedType.Bool)]
-        public static extern bool CloseHandle(IntPtr hObject);
+        public static extern bool CloseHandle(IntPtr hThread);
 
         public static void Suspend(this Process process)
         {