소스 검색

Clear the resizing timer on dispose

Steven Silvester 8 년 전
부모
커밋
0a1d7f7a3a
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/codemirror/widget.ts

+ 1 - 0
src/codemirror/widget.ts

@@ -47,6 +47,7 @@ class CodeMirrorWidget extends Widget {
    * Dispose of the resources held by the widget.
    */
   dispose(): void {
+    clearTimeout(this._resizing);
     this._editor = null;
     super.dispose();
   }