Skip to content

Webgl dispose can throw #3348

@Tyriar

Description

@Tyriar

Rough repro:

  1. Create terminal and open
  2. Load addon
  3. Detach element from DOM
  4. Dispose addon

This line throws

this._core.screenElement!.removeChild(this._canvas);

Ran into this when implementing unsplit which will reparent the terminal element. microsoft/vscode#121278

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions