From b003080265399233aad7de08327e25513ccc9ebc Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 8 Jan 2024 20:09:31 +0100 Subject: Kill children --- src/AsyncImageLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/AsyncImageLoader.cpp') 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 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; -- cgit v1.2.3