MCPcopy Create free account
hub / github.com/runhey/OnmyojiAutoScript / stop

Method stop

module/gui/process/script_process.py:53–61  ·  view source on GitHub ↗

stop the process 是强制的,不会等待子进程结束 :return:

(self)

Source from the content-addressed store, hash-verified

51 raise
52
53 def stop(self) -> None:
54 """
55 stop the process
56 是强制的,不会等待子进程结束
57 :return:
58 """
59 self.terminate()
60 self.join()
61 logger.info(f'stop script {self.config}')
62
63 # def restart(self) -> None:
64 # """

Callers 3

removeMethod · 0.45
stop_allMethod · 0.45
stop_scriptMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected