diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-10-02 04:56:27 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-10-02 04:56:27 +0200 |
commit | ca49eef152db41ac30df2fd6a1b4631f81491b6b (patch) | |
tree | 806ac56857573a04cce244e7c7e3fd1a180e915c /src/plugins/MangaCombined.cpp | |
parent | 7f8ef9f591ce85cfac49b71b5ff2bc8293e0d57c (diff) |
Show genre as reactions for mangadex and anilist
Diffstat (limited to 'src/plugins/MangaCombined.cpp')
-rw-r--r-- | src/plugins/MangaCombined.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/MangaCombined.cpp b/src/plugins/MangaCombined.cpp index c7fdd13..0742562 100644 --- a/src/plugins/MangaCombined.cpp +++ b/src/plugins/MangaCombined.cpp @@ -23,6 +23,9 @@ namespace QuickMedia { int accumulated_sleep_time = 0; while(true) { + if(program_is_dead_in_current_thread()) + break; + size_t num_dead_threads = 0; for(size_t i = 0; i < search_threads.size(); ++i) { auto &search_thread = search_threads[i]; |