Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

SocketIO -sendAcknowledgement:withArgs: with nil args causes a crash #178

Open
thepatrick opened this issue May 9, 2014 · 0 comments
Open

Comments

@thepatrick
Copy link

Except the crash is from the call to NSJSONSerialization dataWithJSONObject - it'd be great if -sendAcknowledgement:withArgs: either did:

  • raise an exception/assert on nil itself (to make it much easier to find the error!)
  • work anyway (e.g. by defaulting the args to @[])
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant