remove obsolete this._roomViewStoreToken.remove();

This commit is contained in:
Matthew Hodgson 2017-09-08 20:14:27 +02:00 committed by GitHub
parent 663dc3e513
commit 0e8bd856bc

View file

@ -349,7 +349,6 @@ module.exports = React.createClass({
UDEHandler.stopListening(); UDEHandler.stopListening();
window.removeEventListener("focus", this.onFocus); window.removeEventListener("focus", this.onFocus);
window.removeEventListener('resize', this.handleResize); window.removeEventListener('resize', this.handleResize);
this._roomViewStoreToken.remove();
}, },
componentDidUpdate: function() { componentDidUpdate: function() {