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

Method onexit

dronekit/mavlink.py:161–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

159 import atexit
160
161 def onexit():
162 self._alive = False
163 self.stop_threads()
164
165 atexit.register(onexit)
166

Callers

nothing calls this directly

Calls 1

stop_threadsMethod · 0.95

Tested by

no test coverage detected