[flutter_tools] Test that DAP process terminates at the end of a session (#108301)
This commit is contained in:
@@ -99,6 +99,13 @@ void main() {
|
||||
'',
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user