From aa0429928dca7b03c2381b3694249ec323578651 Mon Sep 17 00:00:00 2001 From: mflodman Date: Fri, 23 Oct 2015 15:09:49 +0200 Subject: [PATCH] Don't wait until distant future to shut down video app. BUG= R=pbos@webrtc.org Review URL: https://codereview.webrtc.org/1415033005 . Cr-Commit-Position: refs/heads/master@{#10387} --- webrtc/test/mac/run_test.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/test/mac/run_test.mm b/webrtc/test/mac/run_test.mm index e8f38401c3..4e0093a9b6 100644 --- a/webrtc/test/mac/run_test.mm +++ b/webrtc/test/mac/run_test.mm @@ -65,7 +65,7 @@ void RunTest(void(*test)()) { NSRunLoop *runLoop = [NSRunLoop currentRunLoop]; while ([testRunner running] && [runLoop runMode:NSDefaultRunLoopMode - beforeDate:[NSDate distantFuture]]); + beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]); [testRunner release]; [pool release];