Skip to content

Commit

Permalink
spelling: was
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
  • Loading branch information
jsoref committed Mar 4, 2024
1 parent b6c2383 commit 33a389e
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -609,7 +609,7 @@ protected virtual void Dispose(bool dispose)
{
DisposeTriggers();

var wassRunning = State == TaskState.Running;
var wasRunning = State == TaskState.Running;
var startTime = CurrentExecutionStartTime;

var token = CurrentCancellationTokenSource;
Expand Down Expand Up @@ -662,7 +662,7 @@ protected virtual void Dispose(bool dispose)
}
}

if (wassRunning)
if (wasRunning)
{
OnTaskCompleted(startTime, DateTime.UtcNow, TaskCompletionStatus.Aborted, null);
}
Expand Down

0 comments on commit 33a389e

Please sign in to comment.