bmalloc, WTF and JavaScriptCore parts of [Xcode] Update some build settings as recomm...
[WebKit-https.git] / Source / JavaScriptCore / API / tests / testapi.cpp
index cf92f3c3745a26833d8cf720fa3b4b2b3d759c0a..99352c25b969a7d79230a1f34e4c077f0f7a5f73 100644 (file)
@@ -520,7 +520,7 @@ int testCAPIViaCpp(const char* filter)
                     {
                         LockHolder locker(lock);
                         if (tasks.isEmpty())
                     {
                         LockHolder locker(lock);
                         if (tasks.isEmpty())
-                            return;
+                            break;
                         task = tasks.takeFirst();
                     }
 
                         task = tasks.takeFirst();
                     }