Skip to content

Commit 33ade07

Browse files
Update VsCode/Pages/VSCodePage.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 0029580 commit 33ade07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

VsCode/Pages/VSCodePage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public void InitializeItemList()
9090
LoadItems = false;
9191

9292
// set LoadItems to true in 10s
93-
System.Threading.Tasks.Task.Delay(10000).ContinueWith(_ => LoadItems = true);
93+
System.Threading.Tasks.Task.Delay(10000).ContinueWith(_ => Interlocked.Exchange(ref LoadItems, true));
9494
}
9595

9696
public override IListItem[] GetItems()

0 commit comments

Comments
 (0)