From b7df96f4565064bcb7cbbf7e2507e03bdcf339f0 Mon Sep 17 00:00:00 2001 From: Chun Kuan Lee Date: Sun, 14 Oct 2018 04:24:38 +0800 Subject: refactor: Drop boost::this_thread::interruption_point and boost::thread_interrupted in main thread --- src/bitcoin-cli.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/bitcoin-cli.cpp') diff --git a/src/bitcoin-cli.cpp b/src/bitcoin-cli.cpp index f466505114..ba4586012d 100644 --- a/src/bitcoin-cli.cpp +++ b/src/bitcoin-cli.cpp @@ -492,9 +492,6 @@ static int CommandLineRPC(int argc, char *argv[]) } } while (fWait); } - catch (const boost::thread_interrupted&) { - throw; - } catch (const std::exception& e) { strPrint = std::string("error: ") + e.what(); nRet = EXIT_FAILURE; -- cgit v1.2.3