MCPcopy Index your code
hub / github.com/google/clusterfuzz / stop_android_heartbeat

Function stop_android_heartbeat

src/python/bot/startup/run.py:159–171  ·  view source on GitHub ↗

Stop the android heartbeat process.

()

Source from the content-addressed store, hash-verified

157
158
159def stop_android_heartbeat():
160 """Stop the android heartbeat process."""
161 global _android_heartbeat_handle
162 if not _android_heartbeat_handle:
163 # If there is no heartbeat started yet, no work to do. Bail out.
164 return
165
166 try:
167 _android_heartbeat_handle.kill()
168 except Exception as e:
169 logs.error('Unable to stop android heartbeat process: %s' % str(e))
170
171 _android_heartbeat_handle = None
172
173
174def update_source_code_if_needed():

Callers

nothing calls this directly

Calls 2

errorMethod · 0.80
killMethod · 0.45

Tested by

no test coverage detected