Commit 0e6ab71
committed
Fix possible race condition
This fixes a possible issue where slices modified in the Config struct
were accessed in one go routine while being changed in another. I never
saw this occure and it would be be very rare but it was possible for
this to cause a race before. I think this is the only location in the
program this was possible but no promises.1 parent d39d787 commit 0e6ab71
1 file changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
508 | 510 | | |
509 | 511 | | |
510 | 512 | | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
511 | 516 | | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
512 | 523 | | |
513 | 524 | | |
514 | | - | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
515 | 529 | | |
516 | 530 | | |
517 | 531 | | |
| |||
0 commit comments