Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data race #1

Open
and-cesbo opened this issue Nov 27, 2021 · 0 comments
Open

data race #1

and-cesbo opened this issue Nov 27, 2021 · 0 comments

Comments

@and-cesbo
Copy link
Member

==================
WARNING: DATA RACE
Read at 0x00c0000be408 by goroutine 18:
  main.screenshotTask()
      /Users/and/Projects/go/mosaic/main.go:64 +0x156
  main.mainTaskStep·dwrap·1()
      /Users/and/Projects/go/mosaic/main.go:90 +0x71

Previous write at 0x00c0000be408 by goroutine 16:
  main.screenshotTask()
      /Users/and/Projects/go/mosaic/main.go:65 +0x2d8
  main.mainTaskStep·dwrap·1()
      /Users/and/Projects/go/mosaic/main.go:90 +0x71

Goroutine 18 (running) created at:
  main.mainTaskStep()
      /Users/and/Projects/go/mosaic/main.go:90 +0x144
  main.mainTask()
      /Users/and/Projects/go/mosaic/main.go:103 +0x44
  main.main·dwrap·3()
      /Users/and/Projects/go/mosaic/main.go:191 +0x39

Goroutine 16 (running) created at:
  main.mainTaskStep()
      /Users/and/Projects/go/mosaic/main.go:90 +0x144
  main.mainTask()
      /Users/and/Projects/go/mosaic/main.go:103 +0x44
  main.main·dwrap·3()
      /Users/and/Projects/go/mosaic/main.go:191 +0x39
==================

app.Images

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant