Difficult-Rocket/Difficult_Rocket/api/thread.py

24 lines
465 B
Python
Raw Normal View History

2021-09-08 23:38:34 +08:00
# -------------------------------
# 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):
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()