Closed KM-SF closed 6 months ago
gnet.Conn
大部分的方法都不是并发安全的,不能放到新的 goroutine 里执行,仔细看文档:https://pkg.go.dev/github.com/panjf2000/gnet/v2#Conn
🤖 Non-English text detected, translating...
Most methods of
gnet.Conn
are not concurrency-safe and cannot be executed in new goroutines. Read the documentation carefully: https://pkg.go.dev/github.com/panjf2000/gnet/v2#Conn
Actions I've taken before I'm here
Questions with details
Code snippets (optional)