diff options
author | Gurmeen Bindra <gurmeen.bindra@isode.com> | 2013-08-12 08:58:52 (GMT) |
---|---|---|
committer | Gurmeen Bindra <gurmeen.bindra@isode.com> | 2013-08-12 10:11:31 (GMT) |
commit | 34e195e8e2db1de0b71460afcce2417d34fc7717 (patch) | |
tree | d39842a5941b37382dbdf5a6328c8c6674ab6b88 /test/com | |
parent | 21c49ad96762ef3af27dd043a044e37b8ef1c22e (diff) | |
download | stroke-34e195e8e2db1de0b71460afcce2417d34fc7717.zip stroke-34e195e8e2db1de0b71460afcce2417d34fc7717.tar.bz2 |
Null check for selector before trying to close it
It is possible to have a null selector if socketchannel open failed so adding a
null check in this patch.
Test-information:
sanity tested on linux by connecting/reconnecting on an xmpp service on linux
Change-Id: Idee180ca4aefd1f743705da674b486dd8acc4922
Reviewer: Nick Hudson <nick.hudson@isode.com>
Reviewer: Kevin Smith <kevin.smith@isode.com>
Diffstat (limited to 'test/com')
0 files changed, 0 insertions, 0 deletions