Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SP-1832] - Backport of ANALYZER-3004 - Memory Leak when working with… #207

Merged
merged 1 commit into from
May 7, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions package-res/ccc/core/base/chart/chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,6 @@ def
if(isRootInit) {
this._processDataOptions(this.options);

// Now's a good time as any other to clear out all tipsy tooltips
pvc.removeTipsyLegends();

// Any data exists or throws
// (must be done AFTER processing options
// because of width, height properties and noData extension point...)
Expand Down Expand Up @@ -606,11 +603,12 @@ def
try {
this.useTextMeasureCache(function() {
try {
while(true) {
while(true) {
if(!this.parent && this.isCreated)
pvc.removeTipsyLegends();

if(!this.isCreated || recreate)
this._create({reloadData: reloadData});
else if(!this.parent && this.isCreated)
pvc.removeTipsyLegends();

// TODO: Currently, the following always redirects the call
// to topRoot.render;
Expand Down
Loading