Skip to content

Commit

Permalink
fix: Remove Preview Feature
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdotnet committed Jun 18, 2024
1 parent 6af9718 commit 16e2a8c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ All notable changes to **NCronJob** will be documented in this file. The project

## [Unreleased]

### Changed

- Removed preview feature as users had to opt-in to use it.

## [2.8.0] - 2024-06-18

### Added
Expand Down
4 changes: 0 additions & 4 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,4 @@
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>

<PropertyGroup>
<EnablePreviewFeatures>true</EnablePreviewFeatures>
</PropertyGroup>
</Project>
4 changes: 0 additions & 4 deletions src/NCronJob/Scheduler/ObservablePriorityQueue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,7 @@ internal class ObservablePriorityQueue<TElement, TPriority> : IEnumerable<TEleme
where TPriority : IComparable<TPriority>
{
protected readonly PriorityQueue<TElement, TPriority> PriorityQueue;
#if NET8_0
protected readonly object Lock = new();
#else
protected readonly Lock Lock = new();
#endif

public ObservablePriorityQueue(IComparer<TPriority> comparer)
{
Expand Down

0 comments on commit 16e2a8c

Please sign in to comment.