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:
parent
221937bb5e
commit
71218e939c
1 changed files with 4 additions and 0 deletions
|
@ -92,6 +92,10 @@ static void quit(int signal, siginfo_t *sinfo, void *ctx)
|
|||
if (ret)
|
||||
error("Failed to destroy super node");
|
||||
|
||||
ret = io_close(&io);
|
||||
if (ret)
|
||||
error("Failed to close IO");
|
||||
|
||||
ret = io_destroy(&io);
|
||||
if (ret)
|
||||
error("Failed to destroy IO");
|
||||
|
|
Loading…
Add table
Reference in a new issue