diff options
-rw-r--r-- | tests/pkd/pkd_daemon.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/pkd/pkd_daemon.c b/tests/pkd/pkd_daemon.c index 3a530793..9860ca56 100644 --- a/tests/pkd/pkd_daemon.c +++ b/tests/pkd/pkd_daemon.c @@ -498,6 +498,7 @@ void pkd_stop(struct pkd_result *out) { int rc = 0; ctx.keep_going = 0; + close(pkd_state.server_fd); rc = pthread_kill(ctx.tid, SIGUSR1); assert_int_equal(rc, 0); |