logging
This commit is contained in:
parent
66b82e31d4
commit
4b8c7e7183
|
@ -371,7 +371,7 @@ func (sessions *wSessions) Remove(sid string) {
|
||||||
delete(SessionWS, sid)
|
delete(SessionWS, sid)
|
||||||
}
|
}
|
||||||
|
|
||||||
cnt := -1 // count wide sessions associated with HTTP session
|
cnt := 0 // count wide sessions associated with HTTP session
|
||||||
for _, ses := range *sessions {
|
for _, ses := range *sessions {
|
||||||
if ses.HTTPSession.ID == s.HTTPSession.ID {
|
if ses.HTTPSession.ID == s.HTTPSession.ID {
|
||||||
cnt++
|
cnt++
|
||||||
|
|
Loading…
Reference in New Issue