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}
This commit is contained in:
mflodman
2015-10-23 15:09:49 +02:00
parent 27dfe201a5
commit aa0429928d

View File

@ -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];