Commit 8566777d authored by Zachary Anderson's avatar Zachary Anderson Committed by GitHub

Fix -d all hot reload (#12178)

parent 270cb109
...@@ -502,7 +502,8 @@ class HotRunner extends ResidentRunner { ...@@ -502,7 +502,8 @@ class HotRunner extends ResidentRunner {
// `validateReloadReport` is called again. // `validateReloadReport` is called again.
device.updateReloadStatus(validateReloadReport(firstReport, device.updateReloadStatus(validateReloadReport(firstReport,
printErrors: false)); printErrors: false));
retrieveFirstReloadReport.complete(firstReport); if (!retrieveFirstReloadReport.isCompleted)
retrieveFirstReloadReport.complete(firstReport);
}, onError: (dynamic error, StackTrace stack) { }, onError: (dynamic error, StackTrace stack) {
retrieveFirstReloadReport.completeError(error, stack); retrieveFirstReloadReport.completeError(error, stack);
}); });
......
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