This commit is contained in:
aozhiwei 2024-03-19 16:59:59 +08:00
parent 754d7515d7
commit 00bbfab6ef

View File

@ -2,8 +2,8 @@ package team
import (
"q5"
/*"f5"
"cs"
"f5"
/*"cs"
"main/common"
"mt"*/
)
@ -12,6 +12,7 @@ type matchingInfo struct {
team *team
addTick int64
entry q5.ListHead
matchTimerWp *f5.TimerWp
matchOk* matchingInfo
}
@ -48,6 +49,9 @@ func (this *matchMgr) cancelMatch(team *team) bool {
panic("cancelMatching error")
return false
}
if !m.matchTimerWp.Expired() {
f5.GetTimer().Delete(m.matchTimerWp)
}
m.entry.DelInit()
delete(this.teamUuidHash, team.GetTeamUuid())
}