-
Notifications
You must be signed in to change notification settings - Fork 195
Description
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