Commit ef8b64d
committed
fix: Concurrent error collection blocks correctly
Previously, errors would occasionally be underreported, which caused randomly failing tests. This is because when `append(error:` was called concurrently, it occasionally would overwrite a concurrently written `_errorsQueue`1 parent 6e483ae commit ef8b64d
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
82 | 86 | | |
83 | 87 | | |
84 | 88 | | |
| |||
849 | 853 | | |
850 | 854 | | |
851 | 855 | | |
852 | | - | |
| 856 | + | |
853 | 857 | | |
854 | 858 | | |
855 | 859 | | |
| |||
0 commit comments