1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-27 10:42:35 +03:00

Update xtermFrontend.ts

This commit is contained in:
Eugene Pankov 2022-01-14 00:25:48 +01:00
parent 08a564588c
commit da75e34b95
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -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 {