Skip to content

Commit 5a6c2e2

Browse files
authored
Merge pull request #65 from aldiand/master
Fix memory leaking
2 parents bdc1800 + d360025 commit 5a6c2e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

anychart/src/main/java/com/anychart/AnyChartView.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ public Parcelable onSaveInstanceState() {
8080
public void onRestoreInstanceState(Parcelable state) {
8181
if (state instanceof Bundle) {
8282
Bundle bundle = (Bundle) state;
83+
this.js.setLength(0);
8384
this.js.append(bundle.getString("js"));
8485
state = bundle.getParcelable("superState");
8586
}

0 commit comments

Comments
 (0)