From e49d808e1f02d8f01c60753022bc20664b215062 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 16 Jul 2009 15:54:59 +0000 Subject: Add code to better handle unplugging of a reader. --- scd/scdaemon.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scd/scdaemon.c') diff --git a/scd/scdaemon.c b/scd/scdaemon.c index 49f09cf62..24cb346e6 100644 --- a/scd/scdaemon.c +++ b/scd/scdaemon.c @@ -48,6 +48,7 @@ #include "i18n.h" #include "sysutils.h" #include "app-common.h" +#include "apdu.h" #include "ccid-driver.h" #include "mkdtemp.h" #include "gc-opt-flags.h" @@ -858,6 +859,7 @@ main (int argc, char **argv ) void scd_exit (int rc) { + apdu_prepare_exit (); #if 0 #warning no update_random_seed_file update_random_seed_file(); -- cgit v1.2.3