Difficult-Rocket/Difficult_Rocket/api/thread.py
2021-09-09 23:54:03 +08:00

24 lines
486 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) -> None:
if crash.record_thread:
crash.all_thread.append(self)
super(Threads, self).run()