refactor: move main.py and core into new src folder

This commit is contained in:
2026-02-11 21:19:35 +01:00
parent 2ea9a329d1
commit 6dc28615a0
32 changed files with 0 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
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()