Skip to content

Commit

Permalink
Close windows in finally in refresh rate test
Browse files Browse the repository at this point in the history
  • Loading branch information
igordmn committed Jan 26, 2021
1 parent f56cfc9 commit 8f723ef
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,13 @@ native crash in SkiaWindowTest "render single window"
}
}
delay(1000)
windows.forEach(TestWindow::startCollect)
awaitFrameCollection(windows)
windows.forEach(TestWindow::printInfo)
windows.forEach(TestWindow::close)
try {
windows.forEach(TestWindow::startCollect)
awaitFrameCollection(windows)
windows.forEach(TestWindow::printInfo)
} finally {
windows.forEach(TestWindow::close)
}
}

// TODO fix native crash on macOs in previous test if this test is performed before it
Expand Down

0 comments on commit 8f723ef

Please sign in to comment.