We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af2b53a commit c019b92Copy full SHA for c019b92
app/lib/task/loops/delete_instances.dart
@@ -69,14 +69,13 @@ Future<DeleteInstancesState> scanAndDeleteInstances(
69
70
deletionInProgress[instance.instanceName] = clock.now();
71
72
- final future = Future.microtask(() async {
+ futures.add(Future.microtask(() async {
73
try {
74
await cloudCompute.delete(instance.zone, instance.instanceName);
75
} catch (e, st) {
76
_log.severe('Failed to delete $instance', e, st);
77
}
78
- });
79
- futures.add(future);
+ }));
80
81
82
await Future.wait(futures);
0 commit comments