Ensure all test client instances are cleaned up (#3)
This commit is contained in:
parent
fd358b437d
commit
555933a06e
1 changed files with 10 additions and 12 deletions
|
|
@ -63,8 +63,6 @@ public class SseServerIntegrationTestFixture : IDisposable
|
|||
{
|
||||
try
|
||||
{
|
||||
var client = McpClientFactory.CreateAsync(DefaultConfig, DefaultOptions, loggerFactory: LoggerFactory).GetAwaiter().GetResult();
|
||||
client.DisposeAsync().AsTask().Wait();
|
||||
LoggerFactory?.Dispose();
|
||||
}
|
||||
finally
|
||||
|
|
|
|||
Loading…
Reference in a new issue