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

panic: sync: WaitGroup is reused before previous Wait has returned #801

Open
UnknownOre opened this issue Jul 4, 2023 · 0 comments
Open

Comments

@UnknownOre
Copy link
Contributor

UnknownOre commented Jul 4, 2023

panic: sync: WaitGroup is reused before previous Wait has returned

goroutine 1 [running]:
sync.(*WaitGroup).Wait(0xc000072f00?)
C:/Program Files/Go/src/sync/waitgroup.go:141 +0x85
github.com/df-mc/dragonfly/server/world.(*World).close(0xc000214e00)
C:/Users/k/go/pkg/mod/github.com/df-mc/[email protected]/server/world/world.go:1024 +0x85
sync.(*Once).doSlow(0xc001260000?, 0xc12143bf34086ce8?)
C:/Program Files/Go/src/sync/once.go:74 +0xc2
sync.(*Once).Do(...)
C:/Program Files/Go/src/sync/once.go:65
github.com/df-mc/dragonfly/server/world.(*World).Close(0x934060?)
C:/Users/k/go/pkg/mod/github.com/df-mc/[email protected]/server/world/world.go:1013 +0x4a
stcraftnet.com/m/player.NewPlayer(0xc0012380f0, 0xc0007b6480)
C:/Users/k/Desktop/work/Proxy/player/player.go:16 +0x65
main.main()

code

w := world.New()
w.Close()
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