Fix other leaking listeners

This commit is contained in:
Daniel Imms
2020-05-03 14:37:20 -07:00
parent b75e42a56c
commit 06b8d36cf0
10 changed files with 44 additions and 16 deletions
+1 -1
View File
@@ -71,8 +71,8 @@ export class Renderer extends Disposable implements IRenderer {
}
public dispose(): void {
super.dispose();
this._renderLayers.forEach(l => l.dispose());
super.dispose();
removeTerminalFromCache(this._id);
}