diff options
| author | practicalswift <[email protected]> | 2018-08-27 23:19:18 +0200 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2018-08-29 20:57:41 +0200 |
| commit | db5e9d3c88349f7e3b56f50f2e2862997e308fd9 (patch) | |
| tree | be0de6f6f5754aa86fa4298b3d811cd5488d2e6b /src/util.h | |
| parent | Merge #14097: validation: Log FormatStateMessage on ConnectBlock error in Con... (diff) | |
| download | discoin-db5e9d3c88349f7e3b56f50f2e2862997e308fd9.tar.xz discoin-db5e9d3c88349f7e3b56f50f2e2862997e308fd9.zip | |
Add missing locks (cs_args)
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h index e93489c1e..e27e73089 100644 --- a/src/util.h +++ b/src/util.h @@ -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 |