MCPcopy Index your code
hub / github.com/dronekit/dronekit-python / close

Method close

dronekit/mavlink.py:297–303  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

295 self.mavlink_thread_out.start()
296
297 def close(self):
298 # TODO this can block forever if parameters continue to be added
299 self._alive = False
300 while not self.out_queue.empty():
301 time.sleep(0.1)
302 self.stop_threads()
303 self.master.close()
304
305 def pipe(self, target):
306 target.target_system = self.target_system

Callers 4

closeMethod · 0.45
mavlink_thread_outMethod · 0.45
mavlink_thread_inMethod · 0.45
resetMethod · 0.45

Calls 1

stop_threadsMethod · 0.95

Tested by

no test coverage detected