Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a bug when client reconnect (#2135)
* Add reconnection lock to control only one thread can can reconnect method. This will avoid problem in this case: Thread A reconnecting, and success, then send msg. Thread B reconnecting but invoke disconnect. Then the Thread A will send msg fail because of Thread B's disconnecting call. * fix sth
- Loading branch information