File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
1
## 19.0.2-wip
2
2
3
+ - Fix Flutter crash due to potential null value in ` setUpChromeConsoleListener ` . - [ #2162 ] ( https://github.com/dart-lang/webdev/pull/2162 )
4
+
3
5
## 19.0.1
4
6
5
7
- Do not show async frame errors on evaluation. - [ #2073 ] ( https://github.com/dart-lang/webdev/pull/2073 )
Original file line number Diff line number Diff line change @@ -1361,7 +1361,8 @@ ${globalLoadStrategy.loadModuleSnippet}("dart_sdk").developer.invokeExtension(
1361
1361
final isolate = inspector.isolate;
1362
1362
if (isolateRef.id != isolate.id) return ;
1363
1363
1364
- final firstArgValue = event.args[0 ].value as String ;
1364
+ final args = event.args;
1365
+ final firstArgValue = (args.isNotEmpty ? args[0 ].value : null ) as String ? ;
1365
1366
// TODO(nshahan) - Migrate 'inspect' and 'log' events to the injected
1366
1367
// client communication approach as well?
1367
1368
switch (firstArgValue) {
You can’t perform that action at this time.
0 commit comments