Skip to content

Commit b08275d

Browse files
committed
Add workaround for null access test failure
1 parent 510fdc6 commit b08275d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/services/views/browser/viewDescriptorService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ export class ViewDescriptorService extends Disposable implements IViewDescriptor
223223
) {
224224
super();
225225

226-
storageKeysSyncRegistryService.registerStorageKey({ key: ViewDescriptorService.CACHED_VIEW_POSITIONS, version: 1 });
226+
storageKeysSyncRegistryService?.registerStorageKey({ key: ViewDescriptorService.CACHED_VIEW_POSITIONS, version: 1 });
227227
this.viewDescriptorCollections = new Map<ViewContainer, { viewDescriptorCollection: ViewDescriptorCollection, disposable: IDisposable; }>();
228228
this.activeViewContextKeys = new Map<string, IContextKey<boolean>>();
229229
this.movableViewContextKeys = new Map<string, IContextKey<boolean>>();

0 commit comments

Comments
 (0)