aboutsummaryrefslogtreecommitdiff
path: root/src/VideoPlayer.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-01-08 20:09:31 +0100
committerdec05eba <dec05eba@protonmail.com>2024-01-08 20:09:35 +0100
commitb003080265399233aad7de08327e25513ccc9ebc (patch)
tree3ea7e2f9ebd665d953eb23fc74634a9bfbff45ad /src/VideoPlayer.cpp
parent4603af2492b7d11f66f8c03e1b38b1429eaf799e (diff)
Kill children
Diffstat (limited to 'src/VideoPlayer.cpp')
-rw-r--r--src/VideoPlayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VideoPlayer.cpp b/src/VideoPlayer.cpp
index 26946fc..4642855 100644
--- a/src/VideoPlayer.cpp
+++ b/src/VideoPlayer.cpp
@@ -116,7 +116,7 @@ namespace QuickMedia {
VideoPlayer::~VideoPlayer() {
if(video_process_id != -1) {
- kill(video_process_id, SIGTERM);
+ kill(video_process_id, SIGKILL);
wait_program(video_process_id);
}