code: def clear(self):
          
          if not self.timer:
              return
  
          # 不阻塞
          try:
              self.timer.kill(block=False)
          except:
              pass
          self.timer = None
docs: 直接把现在的清空