mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45:52 +00:00
Cleanup thread creation.
This commit is contained in:
@@ -42,8 +42,7 @@ bool HashedObjectStore::store(HashedObjectType type, uint32 index,
|
||||
if (!mWritePending)
|
||||
{
|
||||
mWritePending = true;
|
||||
boost::thread t(boost::bind(&HashedObjectStore::bulkWrite, this));
|
||||
t.detach();
|
||||
boost::thread(boost::bind(&HashedObjectStore::bulkWrite, this)).detach();
|
||||
}
|
||||
}
|
||||
// else
|
||||
|
||||
Reference in New Issue
Block a user