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

Closed
UnknownOre opened this issue Jul 4, 2023 · 0 comments · Fixed by #942
Closed

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

UnknownOre opened this issue Jul 4, 2023 · 0 comments · Fixed by #942
Labels
bug Something isn't working
Milestone

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/dragonfly@v0.9.7/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/dragonfly@v0.9.7/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()
@Sandertv Sandertv linked a pull request Nov 25, 2024 that will close this issue
7 tasks
@Sandertv Sandertv added the bug Something isn't working label Nov 25, 2024
@Sandertv Sandertv added this to the v0.10.0 milestone Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants