Commit 24c2602
Zexing Jiang
fix: data race in configureDevices with PropertyCollector
Use cloneDevice() to create a deep copy of the device list before
modification, preventing race between AssignController writes and
PropertyCollector's deepCopy reads..
Signed-off-by: Zexing Jiang <zexing.jiang@broadcom.com>1 parent 1f9b210 commit 24c2602
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2086 | 2086 | | |
2087 | 2087 | | |
2088 | 2088 | | |
2089 | | - | |
| 2089 | + | |
| 2090 | + | |
2090 | 2091 | | |
2091 | 2092 | | |
2092 | 2093 | | |
| |||
0 commit comments