mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-04 09:59:41 +02:00
Merge branch 'feat-steamrip-noschxl' into merge_candidate_noschxl, improve stuff (http dl impl still needed)
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
import threading
|
||||
from core.utils.data.state import state
|
||||
import os
|
||||
|
||||
shutdown_event = threading.Event()
|
||||
|
||||
def closehelper():
|
||||
shutdown_event.set()
|
||||
state.shutdown_event.set()
|
||||
try:
|
||||
from core.network.libtorrent_misc import cleanup_session
|
||||
cleanup_session()
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
def force_exit():
|
||||
os._exit(0)
|
||||
Reference in New Issue
Block a user