Is the lambda run in the same thread as the caller? socket->get_io_service().dispatch(...
If not then it is using fds unsafely unlocked and/or potentially after the object is destroyed.
« Back to merge proposal
Is the lambda run in the same thread as the caller? >get_io_ service( ).dispatch( ...
socket-
If not then it is using fds unsafely unlocked and/or potentially after the object is destroyed.