1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

io: close before destroy

This commit is contained in:
Steffen Vogel 2018-05-13 13:53:37 +02:00
parent a520e00a12
commit d2aff3c30a

View file

@ -62,6 +62,10 @@ static void quit(int signal, siginfo_t *sinfo, void *ctx)
if (ret)
error("Failed to destroy hook");
ret = io_close(&io);
if (ret)
error("Failed to close IO");
ret = io_destroy(&io);
if (ret)
error("Failed to destroy IO");