Core - Move frame timing stop-point to after closing the pipeline

This commit is contained in:
Robert committed 2021-03-21 22:53:59 +01:00
1 parent a02431bb82
commit d7e302fb23
1 file changed
+1 -1
+1 -1
View File
@@ -165,9 +165,9 @@ namespace Artemis.Core.Services
}
finally
{
_rgbService.CloseRender();
_frameStopWatch.Stop();
FrameTime = _frameStopWatch.Elapsed;
_rgbService.CloseRender();
LogUpdateExceptions();
}