Fix a crash in remote device daemon. (#144358)
The daemon server is expecting the client to pass `deviceId` in `device.shutdownDartDevelopmentService` method.
24a792dae1/packages/flutter_tools/lib/src/commands/daemon.dart (L1239)
This commit is contained in:
@@ -810,7 +810,9 @@ class ProxiedDartDevelopmentService implements DartDevelopmentService {
|
||||
await _localDds.shutdown();
|
||||
_ddsStartedLocally = false;
|
||||
} else {
|
||||
await connection.sendRequest('device.shutdownDartDevelopmentService');
|
||||
await connection.sendRequest('device.shutdownDartDevelopmentService', <String, Object?>{
|
||||
'deviceId': deviceId,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user