Open elgerlambert opened 5 years ago
The docs state that the second and third arguments (code & reason) of wsClose are optional. If omitted however no "onClose" event is sent and iOS crashes.
If the code & reason are included it works as expected.
I think you're right. Good catch. I can make them optional (with default values).
The docs state that the second and third arguments (code & reason) of wsClose are optional. If omitted however no "onClose" event is sent and iOS crashes.
If the code & reason are included it works as expected.