mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Fix test.
This commit is contained in:
@@ -1700,6 +1700,9 @@ UTEST( UIWebView, DeferredLocalCSSIgnoredAfterNavigation ) {
|
||||
ASSERT_TRUE( probeNode != nullptr && probeNode->isWidget() );
|
||||
EXPECT_NEAR( probeNode->asType<UIWidget>()->getPixelsSize().getWidth(), 120.f, 0.5f );
|
||||
|
||||
// Drop the external ownership before Engine teardown. The scenes keep the pool alive until
|
||||
// their destruction, which joins its workers before the CSS specification is destroyed.
|
||||
cssThreadPool.reset();
|
||||
Engine::destroySingleton();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user