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