mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
Minor clean up
This commit is contained in:
@@ -36,9 +36,7 @@ export class ExtHostTreeExplorers extends ExtHostTreeExplorersShape {
|
||||
this._treeExplorerNodeProviders[providerId] = provider;
|
||||
|
||||
return new Disposable(() => {
|
||||
if (delete this._treeExplorerNodeProviders[providerId]) {
|
||||
this._proxy.$unregisterTreeExplorerNodeProvider(providerId);
|
||||
}
|
||||
delete this._treeExplorerNodeProviders[providerId];
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user