Faster shutdown

This commit is contained in:
Denis Ryabov 2014-11-11 03:17:06 +03:00
parent 80a0ffb525
commit 5de0706c12

View File

@ -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;