Acquire a lock before using a certain workspace storage directory and fall back to other directories if necessary

This commit is contained in:
Alex Dima
2021-06-29 00:23:33 +02:00
parent cd13f36aee
commit b1b44a3910
6 changed files with 293 additions and 5 deletions

View File

@@ -204,6 +204,8 @@ export abstract class AbstractExtHostExtensionService extends Disposable impleme
}
public async deactivateAll(): Promise<void> {
this._storagePath.onWillDeactivateAll();
let allPromises: Promise<void>[] = [];
try {
const allExtensions = this._registry.getAllExtensionDescriptions();