|
@@ -427,6 +427,7 @@ void TcpTransport::process(PollService::Event event) {
|
|
}
|
|
}
|
|
|
|
|
|
case PollService::Event::Out: {
|
|
case PollService::Event::Out: {
|
|
|
|
+ std::lock_guard lock(mSendMutex);
|
|
if (trySendQueue())
|
|
if (trySendQueue())
|
|
setPoll(PollService::Direction::In);
|
|
setPoll(PollService::Direction::In);
|
|
|
|
|