Skip to content

Commit

Permalink
fix: dispose event listener
Browse files Browse the repository at this point in the history
  • Loading branch information
Tr00d committed Apr 5, 2024
1 parent 2699b05 commit f0a99d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Vonage.Test/ConfigurationTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public async Task ShouldRenewConnection_GivenIdleTimeoutHasExpired()

private async Task<int> RefreshConnectionPool(Dictionary<string, string> settings, int timerBuffer, int loops)
{
var spy = new EventSpy(this.output);
using var spy = new EventSpy(this.output);
var helper = TestingContext.WithBasicCredentials("Url.Rest", settings);
helper.Server.Given(WireMock.RequestBuilders.Request.Create().UsingGet())
.RespondWith(Response.Create().WithStatusCode(HttpStatusCode.OK));
Expand Down

0 comments on commit f0a99d8

Please sign in to comment.