Skip to content

Fix memory leak

Compare
Choose a tag to compare
@evanplaice evanplaice released this 27 Sep 20:21
· 28 commits to main since this release

Destruct the CodeMirror instance when disconnectedCallback() is called. This would only realistically affect users who are creating/destroying a lot of wc-codemirror components but it's still worth cleaning things up properly.