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

Commit f8208a8

Browse files
committed
Keep CA happy
1 parent ddf384b commit f8208a8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/GitHub.VisualStudio/Services/UsageService.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
namespace GitHub.Services
1717
{
1818
[Export(typeof(IUsageService))]
19-
public class UsageService : IUsageService
19+
public sealed class UsageService : IUsageService, IDisposable
2020
{
2121
const string StoreFileName = "metrics.json";
2222
const string UserStoreFileName = "user.json";
@@ -37,6 +37,11 @@ public UsageService(IGitHubServiceProvider serviceProvider, IEnvironment environ
3737
this.environment = environment;
3838
}
3939

40+
public void Dispose()
41+
{
42+
writeSemaphoreSlim.Dispose();
43+
}
44+
4045
public async Task<Guid> GetUserGuid()
4146
{
4247
await Initialize();

0 commit comments

Comments
 (0)