Refactor show syntax tree action

This commit is contained in:
Aleksey Kladov 2019-12-30 19:05:41 +01:00
parent ac3d0e8340
commit ca5c59507f
8 changed files with 116 additions and 134 deletions

View file

@ -49,6 +49,10 @@ export class Ctx {
}
}
get subscriptions(): { dispose(): any }[] {
return this.extCtx.subscriptions;
}
pushCleanup(d: { dispose(): any }) {
this.extCtx.subscriptions.push(d);
}