Commit b9a28c5
committed
Update MockFragment Stats method
The changes include synchronizing access to the underlying map when calculating the Length stat in the MockFragment's Stats() method. This is to ensure thread safety while accessing shared resources.1 parent 3be3eb2 commit b9a28c5
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
48 | 52 | | |
49 | 53 | | |
50 | 54 | | |
| |||
0 commit comments