Summary: Trigger a manual disconnect on deallocation. This was done automatically for us when the underlying socket gets released. But, this gives a bit more visibility and control onto exactly when this is going to take place. Additionally, do not clear the message handler when a message is received. It is not required as sendExpectResponse is one time called only used for certificate exchange. If this takes place again, a new handler will be set anyway. Reviewed By: passy Differential Revision: D31231828 fbshipit-source-id: 36ad13564a358b88d1618e94195fe05433d80993
6.8 KiB
6.8 KiB