mirror of
https://github.com/wownero/cyberwow.git
synced 2026-12-06 07:03:57 +01:00
break early
This commit is contained in:
@@ -208,10 +208,9 @@ class ReSyncingState extends HookedState {
|
||||
|
||||
Future<void> printStdout() async {
|
||||
await for (var line in processOutput) {
|
||||
if (synced) break;
|
||||
append(line);
|
||||
print(line);
|
||||
|
||||
if (synced) break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user