Skip to content

Commit a19d1c3

Browse files
authored
Fix issue with extension context not being set before initializeTemporaryCommandRegistrar (#3622)
1 parent 8222533 commit a19d1c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extension/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ let reloadMessageShown: boolean = false;
2929
let disposables: vscode.Disposable[] = [];
3030

3131
export async function activate(context: vscode.ExtensionContext): Promise<CppToolsApi & CppToolsExtension> {
32-
initializeTemporaryCommandRegistrar();
3332
util.setExtensionContext(context);
33+
initializeTemporaryCommandRegistrar();
3434
Telemetry.activate();
3535
util.setProgress(0);
3636

0 commit comments

Comments
 (0)