[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: attempt to fix signal/cleanup ra
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: attempt to fix signal/cleanup race |
Date: |
Wed, 02 Aug 2023 12:13:29 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new b91f4280 attempt to fix signal/cleanup race
new 59b817ca Merge branch 'master' of git+ssh://git.taler.net/exchange
b91f4280 is described below
commit b91f4280a7e17ea164ca33c0f3a5e16b13ff4af9
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Wed Aug 2 12:13:10 2023 +0200
attempt to fix signal/cleanup race
---
src/testing/testing_api_cmd_system_start.c | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/testing/testing_api_cmd_system_start.c
b/src/testing/testing_api_cmd_system_start.c
index 2f5a9a8e..541ad75c 100644
--- a/src/testing/testing_api_cmd_system_start.c
+++ b/src/testing/testing_api_cmd_system_start.c
@@ -282,18 +282,6 @@ system_cleanup (void *cls,
GNUNET_SCHEDULER_cancel (as->reader);
as->reader = NULL;
}
- if (NULL != as->pipe_in)
- {
- GNUNET_break (GNUNET_OK ==
- GNUNET_DISK_pipe_close (as->pipe_in));
- as->pipe_in = NULL;
- }
- if (NULL != as->pipe_out)
- {
- GNUNET_break (GNUNET_OK ==
- GNUNET_DISK_pipe_close (as->pipe_out));
- as->pipe_out = NULL;
- }
if (NULL != as->system_proc)
{
if (as->active)
@@ -306,6 +294,18 @@ system_cleanup (void *cls,
GNUNET_OS_process_destroy (as->system_proc);
as->system_proc = NULL;
}
+ if (NULL != as->pipe_in)
+ {
+ GNUNET_break (GNUNET_OK ==
+ GNUNET_DISK_pipe_close (as->pipe_in));
+ as->pipe_in = NULL;
+ }
+ if (NULL != as->pipe_out)
+ {
+ GNUNET_break (GNUNET_OK ==
+ GNUNET_DISK_pipe_close (as->pipe_out));
+ as->pipe_out = NULL;
+ }
for (unsigned int i = 0; NULL != as->args[i]; i++)
GNUNET_free (as->args[i]);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: attempt to fix signal/cleanup race,
gnunet <=