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

24 lines
465 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()