Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(384)

Unified Diff: webrtc/test/run_all_unittests.cc

Issue 1782363002: Fix lock behavior on RTCAudioSession. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add log for error Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/test/run_all_unittests.cc
diff --git a/webrtc/test/run_all_unittests.cc b/webrtc/test/run_all_unittests.cc
index 486df5ea8cc956ba2a984a36df90f7c77862b163..80166c3ca8a1bd2db395f5e3f095a01cd5e68969 100644
--- a/webrtc/test/run_all_unittests.cc
+++ b/webrtc/test/run_all_unittests.cc
@@ -8,9 +8,13 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#include "webrtc/base/scoped_autorelease_pool.h"
#include "webrtc/test/test_suite.h"
int main(int argc, char** argv) {
+#if defined(WEBRTC_MAC)
+ rtc::ScopedAutoreleasePool pool;
+#endif
webrtc::test::TestSuite test_suite(argc, argv);
return test_suite.Run();
}

Powered by Google App Engine
This is Rietveld 408576698