mgp25/WhatsAPI-Official — pull request #86 by fermino (2014-10-31 15:03:00+00:00)
Title: Fire onDisconnect instead 'Socket closed' Exception

```
public function onDisconnect($Me, $Socket)
{
exit("Disconnected C:");
}
```

![Test](https://cloud.githubusercontent.com/assets/8203176/4862705/f09ce460-610e-11e4-9954-9e389d9c1cc9.PNG)