Skip to content

Commit 688fc34

Browse files
committed
fix some bugs in processing#561
1 parent 3efe3d2 commit 688fc34

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

client/modules/IDE/pages/IDEView.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ class IDEView extends React.Component {
124124
}
125125

126126
componentWillUnmount() {
127+
document.removeEventListener('keydown', this.handleGlobalKeydown, false);
127128
clearTimeout(this.autosaveInterval);
128129
this.autosaveInterval = null;
129130
this.consoleSize = undefined;
@@ -490,6 +491,7 @@ class IDEView extends React.Component {
490491
<Overlay
491492
title="Error"
492493
ariaLabel="error"
494+
closeOverlay={this.props.hideErrorModal}
493495
>
494496
<ErrorModal
495497
type={this.props.ide.errorType}

0 commit comments

Comments
 (0)