You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you move <-t1.C before the fyne.Do call in each loop (so that they will begin by sleeping 100 ms) does it still report a race, or does it test clean? If the latter, it may be a smaller, simpler to fix issue with how fyne.Do behaves when invoked before the app loop begins.
Checklist
Describe the bug
When accessing the Fyne API from multiple goroutines during app shutdown it results in multiple data races (as reported by go run -race).
This includes writes to maps, which may result in in app crashes / panics.
I was not able to get any data races with only one goroutine.
Example log: dataraces.txt
How to reproduce
Run the code example with
go run -race .
This reliable produces multiple data races.
Screenshots
No response
Example code
Fyne version
2.6.1
Go compiler version
1.24.3
Operating system and version
Ubuntu 22.04
Additional Information
No response
The text was updated successfully, but these errors were encountered: