mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-03 17:39:42 +02:00
9 lines
262 B
Python
9 lines
262 B
Python
import threading
|
|
from core.network.libtorrent_misc import cleanup_session
|
|
from core.utils.general.wrappers import run_thread
|
|
|
|
shutdown_event = threading.Event()
|
|
|
|
def closehelper():
|
|
run_thread(threading.Thread(target=cleanup_session))
|
|
shutdown_event.set() |