优化代码

This commit is contained in:
boyce
2020-10-29 20:45:33 +08:00
parent be792337fb
commit 3025eaebd5
7 changed files with 189 additions and 206 deletions

View File

@@ -124,7 +124,7 @@ func (slf *Module) ReleaseModule(moduleId int64){
slf.ReleaseModule(id)
}
pModule.GetEventHandler().Desctory()
pModule.GetEventHandler().Destroy()
pModule.self.OnRelease()
log.Debug("Release module %s.",slf.GetModuleName())
for pTimer,_ := range pModule.mapActiveTimer {