Skip to content

Commit

Permalink
[PropertiesChanged]: allow old data to be gc'd after `_propertiesChan…
Browse files Browse the repository at this point in the history
…ged`
  • Loading branch information
Steven Orvell committed Feb 8, 2018
1 parent 5607a2d commit 74907b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/mixins/properties-changed.html
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@
const old = this.__dataOld;
if (this._shouldPropertiesChange(props, changedProps, old)) {
this.__dataPending = null;
this.__dataOld = null;
this._propertiesChanged(props, changedProps, old);
}
}
Expand Down

0 comments on commit 74907b9

Please sign in to comment.