MCPcopy Index your code
hub / github.com/dpoulson/r2_control / stop_all

Method stop_all

Hardware/Scripts/ScriptControl.py:120–127  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

118 return "Ok"
119
120 def stop_all(self):
121 idx = 0
122 if __debug__:
123 print("Trying to stop all scripts")
124 for script in self.running_scripts:
125 self.stop_script(script.script_id)
126 idx += 1
127 return "Ok"
128
129 def run_script(self, script, loop):
130 idx = 0

Callers 1

_stop_scriptFunction · 0.80

Calls 1

stop_scriptMethod · 0.95

Tested by

no test coverage detected