~singpolyma/biboumi

e2da6fcddde7603510a266488980160d4cd462cf — louiz’ 6 years ago 835c650
Properly destroy the dns_handler socket when first start fails

To correctly exit the process
1 files changed, 6 insertions(+), 1 deletions(-)

M src/main.cpp
M src/main.cpp => src/main.cpp +6 -1
@@ 196,7 196,12 @@ int main(int ac, char** av)
            }
        }
      else
        identd.shutdown();
        {
#ifdef UDNS_FOUND
          dns_handler.destroy();
#endif
          identd.shutdown();
        }
    }
    // If the only existing connection is the one to the XMPP component:
    // close the XMPP stream.