Index: pkg/compiler/lib/src/enqueue.dart |
diff --git a/pkg/compiler/lib/src/enqueue.dart b/pkg/compiler/lib/src/enqueue.dart |
index a771b2a8dd41e2198c5cf27f39efd1c6653b72bf..c1aaee1a4e647212230d6b72394abb37cb627f7e 100644 |
--- a/pkg/compiler/lib/src/enqueue.dart |
+++ b/pkg/compiler/lib/src/enqueue.dart |
@@ -147,6 +147,9 @@ abstract class EnqueuerListener { |
/// [recentClasses] at least once. |
bool onQueueEmpty(Enqueuer enqueuer, Iterable<ClassEntity> recentClasses); |
+ /// Called when to the queue has been closed. |
+ void onQueueClosed(); |
+ |
/// Called when to the queue is emptied. |
void logSummary(void log(String message)); |
} |
@@ -176,6 +179,7 @@ abstract class EnqueuerImpl extends Enqueuer { |
// TODO(johnniwinther): Set [_impactStrategy] to `null` and [queueIsClosed] |
// to `true` here. |
_impactStrategy = const ImpactStrategy(); |
+ listener.onQueueClosed(); |
} |
} |