rikulo / socket.io-client-dart

socket.io-client-dart: Dartlang port of socket.io-client https://github.com/socketio/socket.io-client
https://quire.io
MIT License
675 stars 185 forks source link

hot restart error #373

Closed kjxbyz closed 8 months ago

kjxbyz commented 8 months ago
socket_io_client: ^3.0.0-beta.1
E/flutter (  339): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'Null' is not a subtype of type 'bool'
E/flutter (  339): #0      new Socket (package:socket_io_client/src/engine/socket.dart:65:5)
E/flutter (  339): #1      Manager.open (package:socket_io_client/src/manager.dart:161:28)
E/flutter (  339): #2      new Manager (package:socket_io_client/src/manager.dart:107:22)
E/flutter (  339): #3      _lookup (package:socket_io_client/socket_io_client.dart:64:24)
E/flutter (  339): #4      io (package:socket_io_client/socket_io_client.dart:44:27)
E/flutter (  339): #5      main (package:socketio_demo/main.dart:9:28)
E/flutter (  339): #6      _runMain.<anonymous closure> (dart:ui/hooks.dart:301:23)
E/flutter (  339): #7      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297:19)
E/flutter (  339): #8      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
E/flutter (  339):