Commit ef0bddd6 authored by fangyincheng's avatar fangyincheng

Fix: modify comment

parent a14ce246
...@@ -508,7 +508,7 @@ LOOP: ...@@ -508,7 +508,7 @@ LOOP:
// this case branch assure the (session)handleLoop gr will exit before (session)handlePackage gr. // this case branch assure the (session)handleLoop gr will exit before (session)handlePackage gr.
if atomic.LoadInt32(&(s.grNum)) == 1 { // make sure @(session)handlePackage goroutine has been closed. if atomic.LoadInt32(&(s.grNum)) == 1 { // make sure @(session)handlePackage goroutine has been closed.
if len(s.wQ) == 0 { if len(s.wQ) == 0 {
log.Infof("%s, [session.handleLoop] got done signal. Both wQ is nil.", s.Stat()) log.Infof("%s, [session.handleLoop] got done signal. wQ is nil.", s.Stat())
break LOOP break LOOP
} }
counter.Start() counter.Start()
......
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