mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-18 17:22:45 -05:00
fix listener leaks (#17913)
* fix listener leaks * add null check * simplify * pr comments
This commit is contained in:
@@ -276,6 +276,7 @@ export class ServerTreeView extends Disposable implements IServerTreeView {
|
||||
if (profile) {
|
||||
newProfile = profile;
|
||||
}
|
||||
groups.forEach(group => group.dispose());
|
||||
}
|
||||
|
||||
const currentSelections = this._tree!.getSelection();
|
||||
|
||||
Reference in New Issue
Block a user