Enable EventBase switching for AsyncSocket even if it has registered events
Summary: AsyncSocket will return isDetachable() -> false if there is a read callback set. So, - ignore event registration status - unregister the events when detaching and - register them back when attaching again. Reviewed By: afrind, eduardo-elizondo Differential Revision: D6331787 fbshipit-source-id: fca4e6101f2d5666edbafa09116aa50f34cb084d
Showing
Please register or sign in to comment