[asterisk-commits] mnicholson: branch group/newcdr r203105 - /team/group/newcdr/main/channel.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jun 24 17:45:14 CDT 2009
Author: mnicholson
Date: Wed Jun 24 17:45:10 2009
New Revision: 203105
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=203105
Log:
Allow dummy channels to be allocated while asterisk is shutting down.
Modified:
team/group/newcdr/main/channel.c
Modified: team/group/newcdr/main/channel.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/newcdr/main/channel.c?view=diff&rev=203105&r1=203104&r2=203105
==============================================================================
--- team/group/newcdr/main/channel.c (original)
+++ team/group/newcdr/main/channel.c Wed Jun 24 17:45:10 2009
@@ -1025,12 +1025,6 @@
{
struct ast_channel *tmp;
struct varshead *headp;
-
- /* If shutting down, don't allocate any new channels */
- if (shutting_down) {
- ast_log(LOG_WARNING, "Channel allocation failed: Refusing due to active shutdown\n");
- return NULL;
- }
#if defined(REF_DEBUG)
if (!(tmp = __ao2_alloc_debug(sizeof(*tmp), ast_dummy_channel_destructor, "", file, line, function, 1))) {
More information about the asterisk-commits
mailing list