Skip to content

Commit

Permalink
Update Scanner.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
ROMaster2 committed Jan 18, 2019
1 parent f101225 commit 8f32792
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Scanner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ private void NewRun(Scan scan, int index)

ScanningCount--;

if (ScanFinished != null) ScanFinished(this, scan);
ScanFinished?.Invoke(this, scan);

//scan.Dispose();

Expand All @@ -496,7 +496,7 @@ private void NewRun(Scan scan, int index)
RefreshBenchmarks();
}

if (index >= DeltaManager.History.Count && AverageFPS > 70d)
if (index >= 32 && AverageFPS > 64 && !Restarting)
{
Log.Warning("Framerate is abnormally high, usually an indicator the video feed is not active.");
Restart();
Expand Down

0 comments on commit 8f32792

Please sign in to comment.