[asterisk-commits] russell: branch russell/ast_channel_ao2 r183817 - /team/russell/ast_channel_a...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Mar 23 15:52:37 CDT 2009


Author: russell
Date: Mon Mar 23 15:52:33 2009
New Revision: 183817

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=183817
Log:
Remove unnecessary channel locking

Modified:
    team/russell/ast_channel_ao2/res/res_monitor.c

Modified: team/russell/ast_channel_ao2/res/res_monitor.c
URL: http://svn.digium.com/svn-view/asterisk/team/russell/ast_channel_ao2/res/res_monitor.c?view=diff&rev=183817&r1=183816&r2=183817
==============================================================================
--- team/russell/ast_channel_ao2/res/res_monitor.c (original)
+++ team/russell/ast_channel_ao2/res/res_monitor.c Mon Mar 23 15:52:33 2009
@@ -639,11 +639,8 @@
 		return 0;
 	}
 
-	ast_channel_lock(c);
-
 	res = ast_monitor_stop(c, 1);
 
-	ast_channel_unlock(c);
 	c = ast_channel_unref(c);
 
 	if (res) {




More information about the asterisk-commits mailing list