Commit 5e89d5c2 authored by fangyincheng's avatar fangyincheng

fix: add s.incReadPkgNum()

parent f025e3f3
......@@ -576,6 +576,7 @@ func (s *session) addTask(pkg interface{}) {
if s.tPool != nil {
s.tPool.AddTask(func() {
s.listener.OnMessage(s, pkg)
s.incReadPkgNum()
})
} else {
s.rQ <- pkg
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment