diff options
| author | Cory Fields <[email protected]> | 2018-02-07 19:19:34 -0500 |
|---|---|---|
| committer | Cory Fields <[email protected]> | 2018-02-08 14:35:29 -0500 |
| commit | 004f9999464c7ef4a57b281dcbb407e5d193e798 (patch) | |
| tree | 2fd9df9f73784808f615402cc1a182f53f3f6abd /src/validation.cpp | |
| parent | boost: drop boost threads from torcontrol (diff) | |
| download | discoin-004f9999464c7ef4a57b281dcbb407e5d193e798.tar.xz discoin-004f9999464c7ef4a57b281dcbb407e5d193e798.zip | |
boost: drop boost threads for [alert|block|wallet]notify
Diffstat (limited to 'src/validation.cpp')
| -rw-r--r-- | src/validation.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index 16b656c7f..6b02c0920 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -1188,7 +1188,8 @@ static void AlertNotify(const std::string& strMessage) safeStatus = singleQuote+safeStatus+singleQuote; boost::replace_all(strCmd, "%s", safeStatus); - boost::thread t(runCommand, strCmd); // thread runs free + std::thread t(runCommand, strCmd); + t.detach(); // thread runs free } static void CheckForkWarningConditions() |