|
|
@ -2319,14 +2319,18 @@ void CConnman::Interrupt() |
|
|
|
interruptNet(); |
|
|
|
interruptNet(); |
|
|
|
InterruptSocks5(true); |
|
|
|
InterruptSocks5(true); |
|
|
|
|
|
|
|
|
|
|
|
if (semOutbound) |
|
|
|
if (semOutbound) { |
|
|
|
for (int i=0; i<(nMaxOutbound + nMaxFeeler); i++) |
|
|
|
for (int i=0; i<(nMaxOutbound + nMaxFeeler); i++) { |
|
|
|
semOutbound->post(); |
|
|
|
semOutbound->post(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (semAddnode) |
|
|
|
if (semAddnode) { |
|
|
|
for (int i=0; i<nMaxAddnode; i++) |
|
|
|
for (int i=0; i<nMaxAddnode; i++) { |
|
|
|
semAddnode->post(); |
|
|
|
semAddnode->post(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void CConnman::Stop() |
|
|
|
void CConnman::Stop() |
|
|
|
{ |
|
|
|
{ |
|
|
|