Unverified Commit 14626c0a authored by Danny Tuppeny's avatar Danny Tuppeny Committed by GitHub

[flutter_tools] Test that DAP process terminates at the end of a session (#108301)

parent 384e315b
...@@ -99,6 +99,13 @@ void main() { ...@@ -99,6 +99,13 @@ void main() {
'', '',
startsWith('Exited'), startsWith('Exited'),
]); ]);
// If we're running with an out-of-process debug adapter, ensure that its
// own process shuts down after we terminated.
final DapTestServer server = dap.server;
if (server is OutOfProcessDapTestServer) {
await server.exitCode;
}
}); });
testWithoutContext('outputs useful message on invalid DAP protocol messages', () async { testWithoutContext('outputs useful message on invalid DAP protocol messages', () async {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment