summaryrefslogtreecommitdiff
path: root/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeWaitHandle.Windows.cs
blob: 66f17f0af70952c1f6190127d40f2c3a3644bfad (plain)
1
2
3
4
5
6
7
8
9
10
11
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

namespace Microsoft.Win32.SafeHandles
{
    public sealed partial class SafeWaitHandle : SafeHandleZeroOrMinusOneIsInvalid
    {
        protected override bool ReleaseHandle() => Interop.Kernel32.CloseHandle(handle);
    }
}