Closed
Description
Inside FirestoreConnect.componentWillReceiveProps
w/ in createFirestoreConnect
the wrong set of listeners is cleaned up:
this.prevData
is overridden before the extant listeners are cleaned up, so it ends up leaking. The call to unsetListeners
should be made before this.prevData
is reassigned.