Unverified Commit 4a1445bb authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

[flutter_tools] handle further devtools NPE (#74764)

parent 71aec53a
...@@ -1304,6 +1304,9 @@ abstract class ResidentRunner { ...@@ -1304,6 +1304,9 @@ abstract class ResidentRunner {
} }
await waitForExtension(device.vmService, 'ext.flutter.activeDevToolsServerAddress'); await waitForExtension(device.vmService, 'ext.flutter.activeDevToolsServerAddress');
try { try {
if (_devToolsLauncher == null) {
return;
}
unawaited(invokeFlutterExtensionRpcRawOnFirstIsolate( unawaited(invokeFlutterExtensionRpcRawOnFirstIsolate(
'ext.flutter.activeDevToolsServerAddress', 'ext.flutter.activeDevToolsServerAddress',
device: device, device: device,
......
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