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

Close windows in `finally` in refresh rate test

parent f56cfc92
...@@ -138,11 +138,14 @@ native crash in SkiaWindowTest "render single window" ...@@ -138,11 +138,14 @@ native crash in SkiaWindowTest "render single window"
} }
} }
delay(1000) delay(1000)
try {
windows.forEach(TestWindow::startCollect) windows.forEach(TestWindow::startCollect)
awaitFrameCollection(windows) awaitFrameCollection(windows)
windows.forEach(TestWindow::printInfo) windows.forEach(TestWindow::printInfo)
} finally {
windows.forEach(TestWindow::close) windows.forEach(TestWindow::close)
} }
}
// TODO fix native crash on macOs in previous test if this test is performed before it // 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