mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
Ensure initial synchronization is atomic.
This commit is contained in:
@@ -98,7 +98,7 @@ void NetworkConnection::ReadThreadMain() {
|
||||
if (m_stream) m_stream->close();
|
||||
break;
|
||||
}
|
||||
m_process_incoming(std::move(msg), this, m_proto_rev);
|
||||
m_process_incoming(std::move(msg), this);
|
||||
}
|
||||
DEBUG3("read thread died");
|
||||
m_state = static_cast<int>(kDead);
|
||||
|
||||
Reference in New Issue
Block a user