Skip to content

Commit 41e94a6

Browse files
committed
Fix: Remove redundant idle event emission in StreamGroup.close()
1 parent 90030eb commit 41e94a6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: pkgs/async/lib/src/stream_group.dart

-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,6 @@ class StreamGroup<T> implements Sink<Stream<T>> {
291291
_closed = true;
292292

293293
if (_subscriptions.isEmpty) {
294-
_onIdleController?.add(null);
295294
_onIdleController?.close();
296295
_controller.close();
297296
return _controller.done;

0 commit comments

Comments
 (0)