1
0
mirror of https://github.com/twisterarmy/twister-core.git synced 2025-08-26 05:41:49 +00:00

Faster shutdown

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

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