Skip to content

Commit 0c0ef08

Browse files
committed
glyph tagger update margin tags synchronously
1 parent 278abdf commit 0c0ef08

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

SharedProject/Impl/CoverageLineGlyphTagger.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ public CoverageLineGlyphTagger(ITextBuffer textBuffer, IFCCEngine fccEngine, ICo
2727

2828
private void FCCEngine_UpdateMarginTags(UpdateMarginTagsEventArgs e)
2929
{
30-
_ = ThreadHelper.JoinableTaskFactory.RunAsync(async () =>
30+
#pragma warning disable VSTHRD102 // Implement internal logic asynchronously
31+
ThreadHelper.JoinableTaskFactory.Run(async () =>
32+
#pragma warning restore VSTHRD102 // Implement internal logic asynchronously
3133
{
3234
await coverageColoursProvider.PrepareAsync();
3335
var span = new SnapshotSpan(_textBuffer.CurrentSnapshot, 0, _textBuffer.CurrentSnapshot.Length);

0 commit comments

Comments
 (0)