aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-03-31 09:32:15 +0200
committerThomas White <taw@physics.org>2020-07-29 18:42:57 +0200
commit551051c4e99b7ddfa23de5ef0b93260d3aca974e (patch)
tree4ee98bc73afb0be91e157617b2b52c687b75f337
parentc6632cec3bc17799d5d05fd750596f3283eb717b (diff)
Actually kill indexamajig process when "Cancel" pressed
-rw-r--r--src/gui_backend_local.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui_backend_local.c b/src/gui_backend_local.c
index 8692d8f8..90465ed6 100644
--- a/src/gui_backend_local.c
+++ b/src/gui_backend_local.c
@@ -250,7 +250,8 @@ static void cancel(struct crystfelproject *proj)
return;
}
- ERROR("Cancelling!!!\n");
+ ERROR("Stopping indexamajig.\n");
+ kill(priv->indexamajig_pid, SIGQUIT);
}