def stop(self): from customer import io_throttle from customer import data_sender data_sender.SetShutdownFlag() data_sender.Destroy() io_throttle.shutdown() return True
def stop(self): from customer import io_throttle from customer import data_sender from customer import data_receiver data_receiver.A('shutdown') data_sender.SetShutdownFlag() data_sender.A('shutdown') io_throttle.shutdown() return True