Commit 5bc8c47b authored by alexstocks's avatar alexstocks

add panic stack info

parent b6e5ac9c
...@@ -375,8 +375,8 @@ LOOP: ...@@ -375,8 +375,8 @@ LOOP:
case <-this.done: case <-this.done:
log.Info("%s, [session.handleLoop] got done signal ", this.Stat()) log.Info("%s, [session.handleLoop] got done signal ", this.Stat())
break LOOP break LOOP
case inPkg = <-this.rQ:
case inPkg = <-this.rQ:
this.listener.OnMessage(this, inPkg) this.listener.OnMessage(this, inPkg)
this.incReadPkgCount() this.incReadPkgCount()
...@@ -386,6 +386,7 @@ LOOP: ...@@ -386,6 +386,7 @@ LOOP:
break LOOP break LOOP
} }
this.incWritePkgCount() this.incWritePkgCount()
case <-ticker.C: case <-ticker.C:
this.listener.OnCron(this) this.listener.OnCron(this)
} }
......
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