Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 15802f5

Browse files
committed
Don't initialize at the top of TimerTick.
The first tick will call `IncrementLaunchCount` which will call `LoadUsage` which will call `Initialize` for us.
1 parent 5876ed4 commit 15802f5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/GitHub.VisualStudio/Services/UsageTracker.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,6 @@ async Task<UsageData> LoadUsage()
9494

9595
async Task TimerTick()
9696
{
97-
await Initialize();
98-
9997
if (firstTick)
10098
{
10199
await IncrementLaunchCount();

0 commit comments

Comments
 (0)