Updated Branches:
  refs/heads/trunk fca0b5c6e -> e0435fafe

AMBARI-2635. Perf: Service summary view inefficiently binds to host components. 
(srimanth)


Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/e0435faf
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/e0435faf
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/e0435faf

Branch: refs/heads/trunk
Commit: e0435fafe1031ac337ab17033c2075c0c3037d10
Parents: fca0b5c
Author: Srimanth Gunturi <[email protected]>
Authored: Fri Jul 12 15:40:11 2013 -0700
Committer: Srimanth Gunturi <[email protected]>
Committed: Fri Jul 12 15:40:11 2013 -0700

----------------------------------------------------------------------
 ambari-web/app/views/main/service/info/summary.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/e0435faf/ambari-web/app/views/main/service/info/summary.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/info/summary.js 
b/ambari-web/app/views/main/service/info/summary.js
index b0623fb..5cbe478 100644
--- a/ambari-web/app/views/main/service/info/summary.js
+++ b/ambari-web/app/views/main/service/info/summary.js
@@ -236,7 +236,9 @@ App.MainServiceInfoSummaryView = Em.View.extend({
           components.push(obj);
         }
       });
-      this.set('components', components);
+      if(!this.get('isDestroyed') && !this.get('isDestroying')){
+        this.set('components', components);
+      }
   },
   
   _hostComponentsUpd: function() {

Reply via email to