You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by da...@apache.org on 2017/07/24 12:37:07 UTC
[15/50] incubator-weex git commit: + [ios] update
dispatch_get_main_queue logic @notdanger
+ [ios] update dispatch_get_main_queue logic @notdanger
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/3f3da992
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/3f3da992
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/3f3da992
Branch: refs/heads/0.16-dev
Commit: 3f3da992744e67b2a9d08885eeb93b11fd01c46f
Parents: 1929492
Author: 齐山 <su...@163.com>
Authored: Wed Jul 19 10:17:03 2017 +0800
Committer: 齐山 <su...@163.com>
Committed: Wed Jul 19 10:17:03 2017 +0800
----------------------------------------------------------------------
ios/playground/WeexDemo/WXDemoViewController.m | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/3f3da992/ios/playground/WeexDemo/WXDemoViewController.m
----------------------------------------------------------------------
diff --git a/ios/playground/WeexDemo/WXDemoViewController.m b/ios/playground/WeexDemo/WXDemoViewController.m
index 2284ea7..d443418 100644
--- a/ios/playground/WeexDemo/WXDemoViewController.m
+++ b/ios/playground/WeexDemo/WXDemoViewController.m
@@ -146,9 +146,7 @@
_instance.renderFinish = ^(UIView *view) {
WXLogDebug(@"%@", @"Render Finish...");
- dispatch_async(dispatch_get_main_queue(), ^{
- [WXTracingManager startTracing:weakSelf.instance.instanceId ref:nil parentRef:nil className:nil name:nil ph:WXTracingInstant fName:WXTRenderFinish parentId:nil];
- });
+ [WXTracingManager startTracing:weakSelf.instance.instanceId ref:nil parentRef:nil className:nil name:nil ph:WXTracingInstant fName:WXTRenderFinish parentId:nil];
[weakSelf updateInstanceState:WeexInstanceAppear];
};