Difficult-Rocket/Difficult_Rocket/utils/thread.py

24 lines
485 B
Python
Raw Normal View History

2021-09-08 23:38:34 +08:00
# -------------------------------
# Difficult Rocket
2022-06-27 16:51:14 +08:00
# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com
2021-09-08 23:38:34 +08:00
# All rights reserved
# -------------------------------
"""
writen by shenjackyuanjie
mail: 3695888@qq.com
github: @shenjackyuanjie
gitee: @shenjackyuanjie
"""
import threading
from Difficult_Rocket import crash
class Threads(threading.Thread):
def run(self):
2021-09-08 23:38:34 +08:00
if crash.record_thread:
2021-09-09 23:54:03 +08:00
crash.all_thread.append(self)
super().run()