Fix Job<T> debug timer (#1248)
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
@@ -127,6 +127,7 @@ namespace Content.Server.GameObjects.EntitySystems.JobQueues
|
||||
|
||||
public void Run()
|
||||
{
|
||||
StopWatch.Restart();
|
||||
_workInProgress ??= ProcessWrap();
|
||||
|
||||
if (Status == JobStatus.Finished)
|
||||
@@ -140,7 +141,6 @@ namespace Content.Server.GameObjects.EntitySystems.JobQueues
|
||||
_resume = null;
|
||||
|
||||
Status = JobStatus.Running;
|
||||
StopWatch.Restart();
|
||||
|
||||
if (Cancellation.IsCancellationRequested)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user