Add tracking of delay to streaming API

This commit is contained in:
Eugen Rochko
2017-02-05 03:19:04 +01:00
parent 6cdcac1396
commit fb6aa7ad5c
3 changed files with 13 additions and 6 deletions

View File

@ -123,7 +123,7 @@ const Modal = React.createClass({
window.addEventListener('keyup', this._listener);
},
componentDidUnmount () {
componentWillUnmount () {
window.removeEventListener('keyup', this._listener);
},