diff --git a/client/modules/IDE/pages/IDEView.jsx b/client/modules/IDE/pages/IDEView.jsx index ac9e1a78..9f6bb437 100644 --- a/client/modules/IDE/pages/IDEView.jsx +++ b/client/modules/IDE/pages/IDEView.jsx @@ -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 {