Skip to content

Commit 7a2e89f

Browse files
committed
Fix DebugServerTests never stop issue
1 parent 0ca638c commit 7a2e89f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/OpenGraphCxxTests/DebugServer/DebugServerTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ struct DebugServerTests {
4343
let response = try #require(String(data: responseData, encoding: .utf8))
4444
#expect(response == command.rawValue)
4545
}
46-
debugServer.shutdown()
47-
// TODO: The shutdown should close the connection, but it does not for OGDebugServer currently.
46+
debugServer.shutdown() // TODO: The shutdown should close the connection, but it does not for OGDebugServer currently.
47+
client.disconnect()
4848
default:
4949
break
5050
}

0 commit comments

Comments
 (0)