protected override void OnDisposeUnmanagedResources() { var result = this.eventHandle.Set(); if (!result) { this.Logger.Warn("Set failed"); } } }