pyadbdirect.py
def wait(self):
        '''Wait until all services have been closed.'''

        with self._service_closed_condition:
            while self._services:
                t = self._service_closed_condition.wait(timeout=5)
                #fix a bug
                if not t:
                    break
Wait until all services have been closed.
Wait until all services have been closed.
Wait until all services have been closed .
def wait(self):
        with self._service_closed_condition:
            while self._services:
                t = self._service_closed_condition.wait(timeout=5)
                if not t:
                    break
def wait ( self ) : with self . _service_closed_condition : while self . _services : t = self . _service_closed_condition . wait ( timeout = 5 ) if not t : break
Wait until all services have been closed.
Wait until all services have been closed .
'''Wait until all services have been closed.''' #fix a bug

self