示例#1
0
 def cleanup(self):
     self.stop_all_proxies()
     ServerCore.cleanup(self)
     start = monotonic_time()
     live = True
     log("cleanup() proxy instances: %s", self.instances)
     while monotonic_time() - start < PROXY_CLEANUP_GRACE_PERIOD and live:
         live = tuple(x for x in tuple(self.instances.keys())
                      if x.is_alive())
         if live:
             log("cleanup() still %i proxies alive: %s", len(live), live)
             time.sleep(0.1)
     if live:
         self.stop_all_proxies(True)
     log("cleanup() frames remaining:")
     from xpra.util import dump_all_frames
     dump_all_frames(log)
示例#2
0
 def cleanup(self):
     self.stop_all_proxies()
     ServerCore.cleanup(self)
示例#3
0
 def cleanup(self):
     self.stop_all_proxies()
     ServerCore.cleanup(self)