aboutsummaryrefslogtreecommitdiffstats
path: root/agent/gpg-agent.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2018-11-26 03:07:36 +0000
committerNIIBE Yutaka <[email protected]>2018-11-26 03:07:36 +0000
commit40c7923ea881881a48de8f303b0870ec5910e13d (patch)
treec0a7a41f8cb211e517ab1a2d47339f5f414b6f59 /agent/gpg-agent.c
parentagent: Defer calling assuan_release when it's still in use. (diff)
downloadgnupg-40c7923ea881881a48de8f303b0870ec5910e13d.tar.gz
gnupg-40c7923ea881881a48de8f303b0870ec5910e13d.zip
agent: Have a thread to wait for the child process of scdaemon.
* agent/call-scd.c (wait_child_thread): New. (start_scd): Create a thread for wait_child_thread. (agent_scd_check_aliveness): Remove. Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'agent/gpg-agent.c')
-rw-r--r--agent/gpg-agent.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index 911064cdc..de6947d4e 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -2370,9 +2370,6 @@ handle_tick (void)
if (!last_minute)
last_minute = time (NULL);
- /* Check whether the scdaemon has died and cleanup in this case. */
- agent_scd_check_aliveness ();
-
/* If we are running as a child of another process, check whether
the parent is still alive and shutdown if not. */
#ifndef HAVE_W32_SYSTEM