diff --git a/untests/sources/untests_high/library.cpp b/untests/sources/untests_high/library.cpp index 21f67af9..72668a85 100644 --- a/untests/sources/untests_high/library.cpp +++ b/untests/sources/untests_high/library.cpp @@ -75,13 +75,13 @@ TEST_CASE("library"){ REQUIRE(the>().find("image.png")); REQUIRE(the>().find("image.png")); - the().worker().wait_all(); + std::this_thread::sleep_for(std::chrono::milliseconds(10)); the>().unload_self_unused_assets(); REQUIRE(the>().find("image.png")); REQUIRE_FALSE(the>().find("image.png")); image_res.reset(); - the().worker().wait_all(); + std::this_thread::sleep_for(std::chrono::milliseconds(10)); the>().unload_self_unused_assets(); REQUIRE_FALSE(the>().find("image.png")); REQUIRE_FALSE(the>().find("image.png"));