We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23e1c24 commit 7760089Copy full SHA for 7760089
src/DotNetty.Common/Concurrency/ScheduledTask.cs
@@ -33,7 +33,7 @@ protected ScheduledTask(AbstractScheduledEventExecutor executor, PreciseTimeSpan
33
34
public bool Cancel()
35
{
36
- if (!this.AtomicCancellationStateUpdate(CancellationProhibited, CancellationRequested))
+ if (!this.AtomicCancellationStateUpdate(CancellationRequested, CancellationProhibited))
37
38
return false;
39
}
0 commit comments