1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-31 01:42:02 +00:00

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

This commit is contained in:
Robert 2021-03-21 22:53:59 +01:00
parent a02431bb82
commit d7e302fb23

View File

@ -165,9 +165,9 @@ namespace Artemis.Core.Services
} }
finally finally
{ {
_rgbService.CloseRender();
_frameStopWatch.Stop(); _frameStopWatch.Stop();
FrameTime = _frameStopWatch.Elapsed; FrameTime = _frameStopWatch.Elapsed;
_rgbService.CloseRender();
LogUpdateExceptions(); LogUpdateExceptions();
} }