Commit 173303b
committed
fix: don't allow new connections while pool closes
This fix prevents the p2p pool from accepting or initiating new
connections while it is closing or after it has closed. This prevents
the possibility for race conditions which was affecting the Pool test
suite.1 parent b69717a commit 173303b
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
469 | 473 | | |
470 | 474 | | |
471 | 475 | | |
| |||
0 commit comments