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 1c2edd9 commit fd13ecaCopy full SHA for fd13eca
src/net.cpp
@@ -1070,12 +1070,13 @@ void CConnman::ThreadSocketHandler()
1070
{
1071
bool fDelete = false;
1072
1073
- TRY_LOCK(pnode->cs_vSend, lockSend);
1074
- if (lockSend)
+ TRY_LOCK(pnode->cs_inventory, lockInv);
+ if (lockInv)
1075
1076
- TRY_LOCK(pnode->cs_inventory, lockInv);
1077
- if (lockInv)
1078
- fDelete = true;
+ TRY_LOCK(pnode->cs_vSend, lockSend);
+ if (lockSend) {
+ fDelete = true;
1079
+ }
1080
}
1081
1082
if (fDelete)
0 commit comments