also remove disconnecting from ResizeObserver

pull/21833/head
Bruno Windels 2019-03-11 10:32:30 +01:00
parent 96b1b723cd
commit 10496cd4e8
1 changed files with 0 additions and 4 deletions

View File

@ -178,10 +178,6 @@ module.exports = React.createClass({
//
// (We could use isMounted(), but facebook have deprecated that.)
this.unmounted = true;
if (this._timelineSizeObserver) {
this._timelineSizeObserver.disconnect();
this._timelineSizeObserver = null;
}
},
onScroll: function(ev) {