0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-29 20:28:52 +02:00

authd: don't try to do anything on exit, it's too precarious

This commit is contained in:
Elizabeth Myers 2016-04-30 00:46:18 -05:00
parent 5a775221d2
commit 9f7f75295c
No known key found for this signature in database
GPG key ID: 1A10EF78D83E317B

View file

@ -187,12 +187,6 @@ setup_signals(void)
#endif
}
static void
do_exit(void)
{
destroy_providers();
}
int
main(int argc, char *argv[])
{
@ -214,9 +208,9 @@ main(int argc, char *argv[])
init_providers();
rb_init_prng(NULL, RB_PRNG_DEFAULT);
atexit(do_exit);
rb_helper_loop(authd_helper, 0);
destroy_providers();
return 0;
}