Skip to content

Commit

Permalink
Use Stopwatch.StartNew() in ImageAnimator (#53330)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffhandley authored May 27, 2021
1 parent de6b2d9 commit 18f5931
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,8 @@ public static void StopAnimate(Image image, EventHandler onFrameChangedHandler)
private static void AnimateImages()
{
Debug.Assert(s_imageInfoList != null, "Null images list");
Stopwatch stopwatch = new Stopwatch();
stopwatch.Start();

Stopwatch stopwatch = Stopwatch.StartNew();

while (true)
{
Expand Down

0 comments on commit 18f5931

Please sign in to comment.