-
Notifications
You must be signed in to change notification settings - Fork 187
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
Error on dispose #367
Comments
I am getting this issue even in the version beta release |
Did you use |
I tried using that but it requires js 0.7 but my other libs are using js 0.6 |
My mistake, what I meant is the latest beta version '3.0.0-beta.2'. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The following _TypeError was thrown while finalizing the widget tree:
type 'String' is not a subtype of type 'int' of 'index'
When the exception was thrown, this was the stack:
#0 Manager.onclose (package:socket_io_client/src/manager.dart:385:32)
flutter-webrtc/flutter-webrtc#1 Manager.disconnect (package:socket_io_client/src/manager.dart:370:5)
flutter-webrtc/flutter-webrtc#2 Manager.close (package:socket_io_client/src/manager.dart:364:19)
flutter-webrtc/flutter-webrtc#3 Manager.destroy (package:socket_io_client/src/manager.dart:323:5)
flutter-webrtc/flutter-webrtc#4 Socket.destroy (package:socket_io_client/src/socket.dart:572:8)
To Reproduce
When calling socket.dispose() or socket.destroy()
Platform information
Flutter version: Flutter 3.19
Plugin version: ^0.9.48+hotfix.1
OS: Android / iOS/Desktop
The text was updated successfully, but these errors were encountered: