Difficult-Rocket/Difficult_Rocket/utils/thread.py
2022-06-27 16:51:14 +08:00

24 lines
485 B
Python

# -------------------------------
# Difficult Rocket
# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com
# 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):
if crash.record_thread:
crash.all_thread.append(self)
super().run()