flutter / flutter/devtools

[Inspector] Infinite loading after a hot restart

Ouverte
#9,152 10 commentaires 3 réactions 1 personne assignée Réclamée par @elliette Voir sur GitHub
bug P1 screen: inspector
Langage dominant
Dart
Étoiles
1.7k
Forks
404
Merge moyen
6 j 17 h
PR mergées (30 j)
18

Description

I was running into frequent infinite loading with my project. It usually happens after a hot restart.

To reproduce with my project:
1. Run `main.dart`.
2. Open the inspector in the side panel or the web.
3. After being loaded completely, trigger a hot restart.
4. The inspector starts infinite loading.

To stop it, I can only stop & rerun the entry point.

I can 100% reproduce this with a specific project, it doesn't seem to reproduce when I run with other projects.

![Image](https://github.com/user-attachments/assets/5e856e34-a7b1-4c73-ac1b-d77f745226f7)

___
**DevTools version**: 2.40.3
**IDE**: IntelliJ-IDEA
**Connected Device**:
CPU / OS: arm64 (64 bit) android
Connected app type: Flutter native (debug build)
Dart Version: 3.6.2
Flutter Version: 3.27.4 / stable
Framework / Engine: d8a9f9a52e / 82bd5b7209

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.