Skip to content

Commit eb73e31

Browse files
committed
Don't block on activation
1 parent f01d667 commit eb73e31

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/client/datascience/data-viewing/dataViewerExperimentEnabler.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { IExtensionSingleActivationService } from '../../activation/types';
33
import { ICommandManager } from '../../common/application/types';
44
import { ContextKey } from '../../common/contextKey';
55
import { IExperimentService } from '../../common/types';
6+
import { noop } from '../../common/utils/misc';
67

78
@injectable()
89
export class DebuggerDataViewerExperimentEnabler implements IExtensionSingleActivationService {
@@ -11,6 +12,9 @@ export class DebuggerDataViewerExperimentEnabler implements IExtensionSingleActi
1112
@inject(IExperimentService) private readonly experimentService: IExperimentService
1213
) {}
1314
public async activate() {
15+
this.activateInternal().catch(noop);
16+
}
17+
private async activateInternal() {
1418
// This context key controls the visibility of the 'View Variable in Data Viewer'
1519
// context menu item from the variable window context menu during a debugging session
1620
const isDataViewerExperimentEnabled = new ContextKey(

0 commit comments

Comments
 (0)