Skip to content

Commit 3ad5b89

Browse files
HypnosphiAlexanderPrendota
authored andcommitted
chore: remove listeners when destroying view (#63)
1 parent 2f48df2 commit 3ad5b89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/executable-code/executable-fragment.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,7 @@ export default class ExecutableFragment extends ExecutableCodeTemplate {
546546
this.jsExecutor = false;
547547
this.state = null;
548548
this.codemirror.toTextArea();
549+
this.off();
549550
this.remove();
550551
}
551552
}

0 commit comments

Comments
 (0)