From 74907b9a10d0ce2fe2bea0da455d553b87df0566 Mon Sep 17 00:00:00 2001 From: Steven Orvell Date: Wed, 7 Feb 2018 17:15:30 -0800 Subject: [PATCH] [PropertiesChanged]: allow old data to be gc'd after `_propertiesChanged` --- lib/mixins/properties-changed.html | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/mixins/properties-changed.html b/lib/mixins/properties-changed.html index 203874d523..bd47e08c73 100644 --- a/lib/mixins/properties-changed.html +++ b/lib/mixins/properties-changed.html @@ -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); } }