https://blog.csdn.net/butterfly5211314/article/details/81842519
func (self *Observe) Over() {
if self == nil || self.roomid <= 0 {
return
}
if !atomic.CompareAndSwapInt32(&self.running, 1, 0) {
return
}
close(self.over)
antnet.LogInfo("ob pvp over:%d", self.roomid)
}