Skip to content

fix When unsubscribe From SSE the _retryConnection method must stop#31

Open
soufianebenyaala wants to merge 1 commit intopratikbaid3:masterfrom
soufianebenyaala:patch-1
Open

fix When unsubscribe From SSE the _retryConnection method must stop#31
soufianebenyaala wants to merge 1 commit intopratikbaid3:masterfrom
soufianebenyaala:patch-1

Conversation

@soufianebenyaala
Copy link
Copy Markdown

No description provided.

required Map<String, String> header,
Map<String, dynamic>? body}) {
print('---RETRY CONNECTION---');
if (!_streamController.isClosed)
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@soufianebenyaala I have removed the static _steamController causing the limitation with the access to multiple stream listeners. But this is a good suggestion. I would suggest changing the reference from _streamController to streamController.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants