mirror of https://github.com/stashapp/stash.git
![]() The call to p.ExecuteTask happens in a separate go-routine. It writes, under m.mutex, into the job's details. However, the test goroutine itself reads j.Details which is a read race. Protect the reads in the test by the lock. This makes `package job` pass `go test -race` |
||
---|---|---|
.. | ||
job.go | ||
manager.go | ||
manager_test.go | ||
progress.go | ||
progress_test.go | ||
subscribe.go |