()
| 208 | } |
| 209 | |
| 210 | onunload() { |
| 211 | if (this.themeEventRef) { |
| 212 | this.plugin.app.workspace.offref(this.themeEventRef); |
| 213 | this.themeEventRef = null; |
| 214 | } |
| 215 | if (this.editorView) { |
| 216 | this.editorView.destroy(); |
| 217 | } |
| 218 | } |
| 219 | } |
| 220 | |
| 221 | type PendingEmbedRequest = { |
no test coverage detected