diff --git a/src/ace.jsx b/src/ace.jsx index 5c6dc8d7..71afbc5f 100644 --- a/src/ace.jsx +++ b/src/ace.jsx @@ -119,6 +119,7 @@ export default class ReactAce extends Component { } componentWillUnmount() { + this.editor.destroy(); this.editor = null; }