We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e67df79 commit 59f18f2Copy full SHA for 59f18f2
1 file changed
src/DotNetty.Common/Concurrency/ScheduledTask.cs
@@ -29,7 +29,7 @@ protected ScheduledTask(AbstractScheduledEventExecutor executor, PreciseTimeSpan
29
30
public bool Cancel()
31
{
32
- if (!this.AtomicCancellationStateUpdate(CancellationProhibited, CancellationRequested))
+ if (!this.AtomicCancellationStateUpdate(CancellationRequested, CancellationProhibited))
33
34
return false;
35
}
0 commit comments