mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	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:
		| @@ -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()); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user