-
Notifications
You must be signed in to change notification settings - Fork 194
Open
Description
The package is trying to execute the .fire of the eventBus even after the closure has been executed, would it be possible to add a validation if the clientEventBus has already been closed and if it is different from null?
I/flutter (11479): ----------------FIREBASE CRASHLYTICS----------------
I/flutter (11479): Bad state: Cannot add new events after calling close
I/flutter (11479): #0 _BroadcastStreamController.add (dart:async/broadcast_stream_controller.dart:256:24)
I/flutter (11479): #1 EventBus.fire (package:event_bus/event_bus.dart:61:22)
I/flutter (11479): #2 MqttConnectionHandlerBase.autoReconnect (package:mqtt_client/src/connectionhandling/mqtt_client_mqtt_connection_handler_base.dart:160:23)
I/flutter (11479): <asynchronous suspension>
I/flutter (11479): ----------------------------------------------------

ygorrrteles and giuliacf
Metadata
Metadata
Assignees
Labels
No labels