From 7a2e89f3c05d76f2d07b4b7b726cf431375f4ef8 Mon Sep 17 00:00:00 2001 From: Kyle Date: Sun, 10 Aug 2025 12:25:10 +0800 Subject: [PATCH] Fix DebugServerTests never stop issue --- Tests/OpenGraphCxxTests/DebugServer/DebugServerTests.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/OpenGraphCxxTests/DebugServer/DebugServerTests.swift b/Tests/OpenGraphCxxTests/DebugServer/DebugServerTests.swift index 57f715b8..329d2387 100644 --- a/Tests/OpenGraphCxxTests/DebugServer/DebugServerTests.swift +++ b/Tests/OpenGraphCxxTests/DebugServer/DebugServerTests.swift @@ -43,8 +43,8 @@ struct DebugServerTests { let response = try #require(String(data: responseData, encoding: .utf8)) #expect(response == command.rawValue) } - debugServer.shutdown() - // TODO: The shutdown should close the connection, but it does not for OGDebugServer currently. + debugServer.shutdown() // TODO: The shutdown should close the connection, but it does not for OGDebugServer currently. + client.disconnect() default: break }