feat: make the threads non-daemon

This commit is contained in:
Benex254
2024-10-03 11:47:27 +03:00
parent ef6a465bd2
commit de7f773e9e
2 changed files with 0 additions and 5 deletions

View File

@@ -169,7 +169,6 @@ def downloads(
from threading import Thread
worker = Thread(target=_worker)
worker.daemon = True
worker.start()
else:
_worker()
@@ -242,7 +241,6 @@ def downloads(
from threading import Thread
worker = Thread(target=_worker)
worker.daemon = True
worker.start()
else:
_worker()

View File

@@ -213,7 +213,6 @@ def get_fzf_manga_preview(manga_results, workers=None, wait=False):
target=_worker,
)
# ensure images and info exists
background_worker.daemon = True
background_worker.start()
# the preview script is in bash so making sure fzf doesnt use any other shell lang to process the preview script
@@ -290,7 +289,6 @@ def get_fzf_episode_preview(
target=_worker,
)
# ensure images and info exists
background_worker.daemon = True
background_worker.start()
# the preview script is in bash so making sure fzf doesnt use any other shell lang to process the preview script
@@ -334,7 +332,6 @@ def get_fzf_anime_preview(
background_worker = Thread(
target=write_search_results, args=(anilist_results, titles)
)
background_worker.daemon = True
background_worker.start()
# the preview script is in bash so making sure fzf doesnt use any other shell lang to process the preview script