parent
4e5c58595f
commit
43f482ab48
1 changed files with 2 additions and 0 deletions
|
@ -124,6 +124,7 @@ class IDEView extends React.Component {
|
|||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
document.removeEventListener('keydown', this.handleGlobalKeydown, false);
|
||||
clearTimeout(this.autosaveInterval);
|
||||
this.autosaveInterval = null;
|
||||
this.consoleSize = undefined;
|
||||
|
@ -490,6 +491,7 @@ class IDEView extends React.Component {
|
|||
<Overlay
|
||||
title="Error"
|
||||
ariaLabel="error"
|
||||
closeOverlay={this.props.hideErrorModal}
|
||||
>
|
||||
<ErrorModal
|
||||
type={this.props.ide.errorType}
|
||||
|
|
Loading…
Reference in a new issue