diff --git a/MediaBrowser.ServerApplication/Native/WindowsProcessManager.cs b/MediaBrowser.ServerApplication/Native/WindowsProcessManager.cs index 413e19239..a88f5c1e5 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) {