Skip to content

Commit 2146b32

Browse files
committed
Ensure command is disposed when stopping client.
1 parent ad12324 commit 2146b32

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/razor/src/extension.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,8 @@ export async function activate(
286286
htmlFeature.register(),
287287
documentSynchronizer.register(),
288288
reportIssueCommand.register(),
289-
listenToConfigurationChanges(languageServerClient)
289+
listenToConfigurationChanges(languageServerClient),
290+
razorCodeActionRunner.register()
290291
);
291292

292293
if (enableProposedApis) {
@@ -295,8 +296,6 @@ export async function activate(
295296
await proposedApisFeature.register(vscodeType);
296297
}
297298

298-
razorCodeActionRunner.register();
299-
300299
await Promise.all([
301300
colorPresentationHandler.register(),
302301
documentColorHandler.register(),

0 commit comments

Comments
 (0)