• Jonah Williams's avatar
    [flutter_tools] eagerly set asset directory path, cache flutter views,... · 3300a1bd
    Jonah Williams authored
    [flutter_tools] eagerly set asset directory path, cache flutter views, simplify error handling (#68978)
    
    Performs some small cleanup on the hot reload code path.
    
    - Combines nested try/catch into single try catch, update on clause now that package:vm_service is used and Map does not need to be caught.
    - Cache FlutterViews for the lifetime of the hot reload method handler
    - Set asset directory path once during startup and remove conditional set during hot reload
    3300a1bd
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.cirrus.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CODEOWNERS Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENT_GRANT Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
dartdoc_options.yaml Loading commit data...
flutter_console.bat Loading commit data...