Commit e007b24
committed
Fix shutdown hang with >= 8 -addnodes set
We previously would block waiting for a CSemaphoreGrant in
ThreadOpenAddedConnections, when we did not need to. This would
block as the posts in CConnman shutdown were both to the wrong
semaphore and in the wrong location.1 parent 6996e06 commit e007b24
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2322 | 2322 | | |
2323 | 2323 | | |
2324 | 2324 | | |
| 2325 | + | |
| 2326 | + | |
| 2327 | + | |
| 2328 | + | |
2325 | 2329 | | |
2326 | 2330 | | |
2327 | 2331 | | |
| |||
2337 | 2341 | | |
2338 | 2342 | | |
2339 | 2343 | | |
2340 | | - | |
2341 | | - | |
2342 | | - | |
2343 | | - | |
2344 | 2344 | | |
2345 | 2345 | | |
2346 | 2346 | | |
| |||
0 commit comments