Skip to content

Commit

Permalink
Clean up an unused disposable in snippet-view.ts
Browse files Browse the repository at this point in the history
Together with previous commits.
  • Loading branch information
James-Yu committed Sep 24, 2024
1 parent 73e4b4a commit e6489fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/extras/snippet-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ async function render(pdfFileUri: vscode.Uri, opts: { height: number, width: num
const renderResult = await promise
return renderResult?.data
} catch (_) { }
return
}

function receive(message: SnippetViewResult) {
Expand Down

0 comments on commit e6489fd

Please sign in to comment.