Skip to content

Commit

Permalink
improve(plugin): simplify code
Browse files Browse the repository at this point in the history
  • Loading branch information
xyhp915 authored and tiensonqin committed Dec 16, 2021
1 parent 8baa692 commit 880a07e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/src/LSPlugin.core.ts
Expand Up @@ -759,7 +759,7 @@ class PluginLocal
readyFn()
}

this._disposes.push(async () => {
this._dispose(async () => {
await this._caller?.destroy()
})
} catch (e) {
Expand Down

0 comments on commit 880a07e

Please sign in to comment.