Commit 8f723ef8 authored by Igor Demin's avatar Igor Demin

Close windows in `finally` in refresh rate test

parent f56cfc92
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment