Skip to content

The Free Software Media System - Server Backend & API

Update variable name for consistency

jluce5009d53e3c95d3
diff --git a/MediaBrowser.ServerApplication/Native/WindowsProcessManager.cs b/MediaBrowser.ServerApplication/Native/WindowsProcessManager.cs
index 413e192398..a88f5c1e50 100644
--- a/MediaBrowser.ServerApplication/Native/WindowsProcessManager.cs
+++ b/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)
{