Close meta connection socket after cleaning up event structures.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 10 Jul 2011 20:46:43 +0000 (22:46 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 10 Jul 2011 20:46:43 +0000 (22:46 +0200)
commitd1cd3c81455ecb32149cbaa424b7870075b2b2fc
tree477b37cc43938e37daf05d65ced7fc78a3babb0f
parent30ef2a981e1d62692b3a2363e0b3a0e8711d9604
Close meta connection socket after cleaning up event structures.

Epoll doesn't like it when an already closed filedescriptor is being
removed, so we defer closing the socket until after all else is cleaned
up.
src/connection.c
src/net.c