Open
Description
Using this example as is and starting a connection, connection fails on tcp_bloc.dart
line 40 : _socket = await _socketConnectionTask!.socket;
. The error is Unhandled exception: Bad state: Stream has already been listened to. #0 _StreamController._subscribe (dart:async/stream_controller.dart:635:7) #1 _ControllerStream._createSubscription (dart:async/stream_controller.dart:786:19) #2 _StreamImpl.listen (dart:async/stream_impl.dart:473:9) #3 _Socket.listen (dart:io-patch/socket_patch.dart:2026:31)
.
I'm using Flutter 2.5.2 and Dart 2.14.3. Any hint on how to fix this issue?
Metadata
Metadata
Assignees
Labels
No labels