@lvce-editor/extension-management-worker 4.75.0 → 4.75.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3521,7 +3521,8 @@ const disposeLanguageServers = async (extensionIds, disposeAll) => {
|
|
|
3521
3521
|
};
|
|
3522
3522
|
const getRetainedExtensionIds = async getExtensions => {
|
|
3523
3523
|
try {
|
|
3524
|
-
const
|
|
3524
|
+
const platform = await invoke$4('Layout.getPlatform');
|
|
3525
|
+
const extensions = await getExtensions('', platform);
|
|
3525
3526
|
return new Set(extensions.filter(extension => extension.preserveRuntimeOnWorkspaceChange === true).map(extension => extension.id).filter(id => typeof id === 'string'));
|
|
3526
3527
|
} catch {
|
|
3527
3528
|
return new Set();
|