Have more inferface / classes that are disposable extend IDisposable

This makes it easier to track which objects are disposable, since we can use findAllReferences on them
This commit is contained in:
Matt Bierner
2019-06-07 18:26:02 -07:00
parent 1e9fae2fba
commit d27fd54828
10 changed files with 18 additions and 25 deletions

View File

@@ -905,10 +905,9 @@ export const EventHelper = {
}
};
export interface IFocusTracker {
export interface IFocusTracker extends Disposable {
onDidFocus: Event<void>;
onDidBlur: Event<void>;
dispose(): void;
}
export function saveParentsScrollTop(node: Element): number[] {