code: def ReqUserLogout(self):
          
  
          self.q.Release()
          # 确保隔夜或重新登录时的第1个tick不被发送到客户端
          self.inst_tick.clear()
          self.logined = False
          threading.Thread(target=self.OnDisConnected, args=(self, 0)).start()
docs: 退出接口(正常退出,不会触发OnFrontDisconnected)