Difficult-Rocket/Difficult_Rocket/api/thread.py
沈瑗杰 fccc161148 commit about v 0.5.2
release comming(no DEMO)
2021-09-22 06:21:48 +08:00

25 lines
466 B
Python

# -------------------------------
# Difficult Rocket
# Copyright © 2021 by shenjackyuanjie
# 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()