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