Revert "Ensure method which updates UI is called in main thread"
This reverts commit 0365c99474fd812283842f650cc090b957d73ef2. Reason for revert: Breaks downstream project. Original change's description: > Ensure method which updates UI is called in main thread > > Bug: None > Change-Id: I52d6871e7852e15ef8404377ed37ea894aedae5a > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/216500 > Commit-Queue: Kári Helgason <kthelgason@webrtc.org> > Reviewed-by: Kári Helgason <kthelgason@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#33881} TBR=mbonadei@webrtc.org,kthelgason@webrtc.org,kthelgason@google.com,webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com,aidenluo.me@gmail.com Change-Id: I22e04cefd3766fc9118baaa3bb3464ff03b9bad3 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: None Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/216684 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33883}
This commit is contained in:
parent
3fb51d2783
commit
924a2751e0
1
AUTHORS
1
AUTHORS
@ -80,7 +80,6 @@ Paul Kapustin <pkapustin@gmail.com>
|
||||
Peng Yu <yupeng323@gmail.com>
|
||||
Philipp Hancke <philipp.hancke@googlemail.com>
|
||||
Piasy Xu <xz4215@gmail.com>
|
||||
Qi Luo <aidenluo.me@gmail.com>
|
||||
Rafael Lopez Diez <rafalopezdiez@gmail.com>
|
||||
Ralph Giles <giles@ghostscript.com>
|
||||
Raman Budny <budnyjj@gmail.com>
|
||||
|
||||
@ -212,11 +212,7 @@ static int const kKbpsMultiplier = 1000;
|
||||
return;
|
||||
}
|
||||
_state = state;
|
||||
__weak ARDAppClient *weakSelf = self;
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
ARDAppClient *strongSelf = weakSelf;
|
||||
[strongSelf.delegate appClient:strongSelf didChangeState:strongSelf.state];
|
||||
});
|
||||
[_delegate appClient:self didChangeState:_state];
|
||||
}
|
||||
|
||||
- (void)connectToRoomWithId:(NSString *)roomId
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user