mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	It is no longer required for each module that deals with a channel to call ast_module_user_hangup_all in it's unload function. The loader will automatically perform this action for it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -131,13 +131,7 @@ static int cpeid_exec(struct ast_channel *chan, void *idata) | ||||
|  | ||||
| static int unload_module(void) | ||||
| { | ||||
| 	int res; | ||||
|  | ||||
| 	res = ast_unregister_application(app); | ||||
|  | ||||
| 	ast_module_user_hangup_all(); | ||||
|  | ||||
| 	return res;	 | ||||
| 	return ast_unregister_application(app); | ||||
| } | ||||
|  | ||||
| static int load_module(void) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user