revert loader changes that have clearly not undergone adequate testing before commit

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2006-03-25 23:22:44 +00:00
parent d104a6d622
commit b0ac62573a
14 changed files with 148 additions and 664 deletions

View File

@@ -1,7 +1,7 @@
/*
* Asterisk -- An open source telephony toolkit.
*
* Copyright (C) 1999 - 2005, Digium, Inc.
* Copyright (C) 1999 - 2006, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
*
@@ -882,11 +882,11 @@ static void quit_handler(int num, int nice, int safeshutdown, int restart)
if (ast_socket > -1) {
close(ast_socket);
ast_socket = -1;
unlink(ast_config_AST_SOCKET);
pthread_cancel(lthread);
}
if (ast_consock > -1)
close(ast_consock);
if (ast_socket > -1)
unlink(ast_config_AST_SOCKET);
if (!ast_opt_remote)
unlink(ast_config_AST_PID);
printf(term_quit());