mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
additional iostream thread safety
This commit is contained in:
@@ -71,7 +71,7 @@ public:
|
||||
|
||||
void register_ostream(std::ostream* o) {
|
||||
// TODO: lock transport state?
|
||||
|
||||
scoped_lock_type lock(m_read_mutex);
|
||||
output_stream = o;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user