Update xtermFrontend.ts

上级 08a56458
......@@ -186,6 +186,7 @@ export class XTermFrontend extends Frontend {
detach (_host: HTMLElement): void {
window.removeEventListener('resize', this.resizeHandler)
this.resizeObserver?.disconnect()
delete this.resizeObserver
}
destroy (): void {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册