File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/vs/code/electron-browser/sharedProcess/contrib Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ class ProfileExtensionsCleaner extends Disposable {
62
62
}
63
63
64
64
private async initialize ( ) : Promise < boolean > {
65
- this . profileExtensionsLocations . clear ( ) ;
66
65
if ( this . userDataProfilesService . profiles . length === 1 ) {
67
66
return true ;
68
67
}
@@ -88,7 +87,7 @@ class ProfileExtensionsCleaner extends Disposable {
88
87
await Promise . all ( added . map ( profile => profile . extensionsResource ? this . populateExtensionsFromProfile ( profile . extensionsResource ) : Promise . resolve ( ) ) ) ;
89
88
await Promise . all ( removed . map ( profile => profile . extensionsResource ? this . removeExtensionsFromProfile ( profile . extensionsResource ) : Promise . resolve ( ) ) ) ;
90
89
if ( all . length === 1 ) {
91
- this . initPromise = this . initialize ( ) ;
90
+ this . profileExtensionsLocations . clear ( ) ;
92
91
}
93
92
}
94
93
You can’t perform that action at this time.
0 commit comments