diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-01-08 20:09:31 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-01-08 20:09:35 +0100 |
commit | b003080265399233aad7de08327e25513ccc9ebc (patch) | |
tree | 3ea7e2f9ebd665d953eb23fc74634a9bfbff45ad /src/AsyncImageLoader.cpp | |
parent | 4603af2492b7d11f66f8c03e1b38b1429eaf799e (diff) |
Kill children
Diffstat (limited to 'src/AsyncImageLoader.cpp')
-rw-r--r-- | src/AsyncImageLoader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AsyncImageLoader.cpp b/src/AsyncImageLoader.cpp index 2b454da..1118ee6 100644 --- a/src/AsyncImageLoader.cpp +++ b/src/AsyncImageLoader.cpp @@ -398,7 +398,7 @@ namespace QuickMedia { void AsyncImageLoader::reset_download(Download &download) { std::lock_guard<std::mutex> lock(download_mutex); if(download.read_program.pid != -1) { - kill(download.read_program.pid, SIGTERM); + kill(download.read_program.pid, SIGKILL); int status; waitpid(download.read_program.pid, &status, 0); download.read_program.pid = -1; |