Merge branch 'master' into kd-live
This commit is contained in:
@ -299,8 +299,6 @@ func (sc *AuthCollection) RemoveByAccId(accid primitive.ObjectID) {
|
||||
sc.lock.Lock()
|
||||
defer sc.lock.Unlock()
|
||||
|
||||
logger.Println("AuthCollection.RemoveByAccId :", accid.Hex())
|
||||
|
||||
var sk string
|
||||
if on, ok := sc.reverseOn[accid]; ok {
|
||||
sk = on
|
||||
@ -326,8 +324,6 @@ func (sc *AuthCollection) RemoveBySessionKey(sk string, publish bool) (accid pri
|
||||
sc.lock.Lock()
|
||||
defer sc.lock.Unlock()
|
||||
|
||||
logger.Println("AuthCollection.RemoveBySessionKey :", sk, publish)
|
||||
|
||||
if publish {
|
||||
// 나한테 있든 없든 무조건 publish해야 함
|
||||
sc.SessionRemoved(sk)
|
||||
|
||||
Reference in New Issue
Block a user