We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da32bc1 commit cd73a31Copy full SHA for cd73a31
include/bitcoin/node/protocols/protocol_bitcoind_rpc.hpp
@@ -47,6 +47,7 @@ class BCN_API protocol_bitcoind_rpc
47
48
/// Public start is required.
49
void start() NOEXCEPT override;
50
+ void stopping(const code& ec) NOEXCEPT override;
51
52
protected:
53
using post = network::http::method::post;
src/protocols/protocol_bitcoind_rpc.cpp
@@ -70,6 +70,13 @@ void protocol_bitcoind_rpc::start() NOEXCEPT
70
protocol_http::start();
71
}
72
73
+void protocol_bitcoind_rpc::stopping(const code& ec) NOEXCEPT
74
+{
75
+ BC_ASSERT(stranded());
76
+ rpc_dispatcher_.stop(ec);
77
+ protocol_http::stopping(ec);
78
+}
79
+
80
// Dispatch.
81
// ----------------------------------------------------------------------------
82
0 commit comments