Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate message on the same timestamp #358

Open
EPADDO opened this issue Dec 28, 2023 · 0 comments
Open

Duplicate message on the same timestamp #358

EPADDO opened this issue Dec 28, 2023 · 0 comments
Labels

Comments

@EPADDO
Copy link

EPADDO commented Dec 28, 2023

Hello, I have the forcenew set to true, however, each time I swap connection from wifi to cell and vice versa, it creates a new socket but without deprecating the previous one. This is on an iOS device. Here is an example of the duplicate. I have tried to call dispose, disconnect, etc on the connectivitity state change but that does not clean up all the duplicates. The list keeps growing on each connectivity change when ssocketio reconnects.
flutter: FINE: 2023-12-28 11:51:54.971210:
socket receive: type "ping", data "null"
flutter: FINE: 2023-12-28 11:51:54.971210: socket receive: type "ping", data "null"
flutter: FINE: 2023-12-28 11:51:54.971210: socket receive: type "ping", data "null"
flutter: FINE: 2023-12-28 11:51:54.971210: socket receive: type "ping", data "null"
flutter: FINE: 2023-12-28 11:51:54.971210: socket receive: type "ping", data "null"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants