mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Dispose logger on extension deactivation
This commit is contained in:
parent
3602f07bbe
commit
13872543e0
2 changed files with 6 additions and 0 deletions
|
@ -49,6 +49,8 @@ async function tryActivate(context: vscode.ExtensionContext) {
|
|||
);
|
||||
context.subscriptions.push(defaultOnEnter);
|
||||
|
||||
context.subscriptions.push(log);
|
||||
|
||||
const config = new Config(context);
|
||||
const state = new PersistentState(context.globalState);
|
||||
const serverPath = await bootstrap(config, state).catch(err => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue