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 11## 19.0.2-wip
22
3+ - Fix Flutter crash due to potential null value in ` setUpChromeConsoleListener ` . - [ #2162 ] ( https://github.com/dart-lang/webdev/pull/2162 )
4+
35## 19.0.1
46
57- 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(
13611361 final isolate = inspector.isolate;
13621362 if (isolateRef.id != isolate.id) return ;
13631363
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 ? ;
13651366 // TODO(nshahan) - Migrate 'inspect' and 'log' events to the injected
13661367 // client communication approach as well?
13671368 switch (firstArgValue) {
You can’t perform that action at this time.
0 commit comments