We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a17034b commit deeb509Copy full SHA for deeb509
pkgs/cupertino_http/lib/src/cupertino_web_socket.dart
@@ -267,7 +267,8 @@ class CupertinoWebSocket implements WebSocket {
267
if (code != null) {
268
reason = reason ?? '';
269
print('cancelWithCloseCode($code, $reason)');
270
- _task.cancelWithCloseCode(code, utf8.encode(reason).toNSData());
+ _task.cancel();
271
+// _task.cancelWithCloseCode(code, utf8.encode(reason).toNSData());
272
} else {
273
_task.cancel();
274
}
0 commit comments