minor syntax cleanup (2 vs 4 spaces) and clear clickTimer timeout

This commit is contained in:
Guillermo Rauch 2016-07-04 18:01:32 -07:00
parent 50fdbf2ef7
commit 33e3d487a1

View file

@ -419,10 +419,9 @@ export default class HyperTerm extends Component {
componentWillUnmount () { componentWillUnmount () {
this.rpc.destroy(); this.rpc.destroy();
clearTimeout(this.resizeIndicatorTimeout); clearTimeout(this.resizeIndicatorTimeout);
if (this.keys) { if (this.keys) this.keys.reset();
this.keys.reset();
}
delete this.clicks; delete this.clicks;
clearTimeout(this.clickTimer);
this.updateChecker.destroy(); this.updateChecker.destroy();
} }
} }