Browse Source

Faster shutdown

miguelfreitas
Denis Ryabov 10 years ago
parent
commit
5de0706c12
  1. 2
      src/bitcoinrpc.cpp

2
src/bitcoinrpc.cpp

@ -965,7 +965,7 @@ static string JSONRPCExecBatch(const Array& vReq)
void ServiceConnection(AcceptedConnection *conn) void ServiceConnection(AcceptedConnection *conn)
{ {
bool fRun = true; bool fRun = true;
while (fRun) while (fRun && !ShutdownRequested())
{ {
int nProto = 0; int nProto = 0;
map<string, string> mapHeaders; map<string, string> mapHeaders;

Loading…
Cancel
Save