[gnome-builder] libide/foundry: force-exit subprocess upon test cancellation
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide/foundry: force-exit subprocess upon test cancellation
- Date: Tue, 19 Jul 2022 23:28:49 +0000 (UTC)
commit 47f7cc7714962dd17798046e37f0f7d6c25777a8
Author: Christian Hergert <chergert redhat com>
Date: Tue Jul 19 16:28:43 2022 -0700
libide/foundry: force-exit subprocess upon test cancellation
src/libide/foundry/ide-test.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/libide/foundry/ide-test.c b/src/libide/foundry/ide-test.c
index fd59facb7..3af5ad7a3 100644
--- a/src/libide/foundry/ide-test.c
+++ b/src/libide/foundry/ide-test.c
@@ -345,6 +345,7 @@ ide_test_run_async (IdeTest *self,
}
else
{
+ ide_subprocess_send_signal_upon_cancel (subprocess, cancellable, SIGKILL);
ide_test_set_status (self, IDE_TEST_STATUS_RUNNING);
ide_subprocess_wait_check_async (subprocess,
cancellable,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]