mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
Add missing locks (cs_args)
This commit is contained in:
@@ -262,7 +262,10 @@ public:
|
||||
/**
|
||||
* Clear available arguments
|
||||
*/
|
||||
void ClearArgs() { m_available_args.clear(); }
|
||||
void ClearArgs() {
|
||||
LOCK(cs_args);
|
||||
m_available_args.clear();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the help string
|
||||
|
||||
Reference in New Issue
Block a user