[asterisk-commits] russell: branch 1.4 r64868 -
/branches/1.4/apps/app_queue.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu May 17 19:48:52 MST 2007
Author: russell
Date: Thu May 17 21:48:51 2007
New Revision: 64868
URL: http://svn.digium.com/view/asterisk?view=rev&rev=64868
Log:
Fix a small bug I noticed while working on something else. app_queue did not
unregister its device state monitoring callback in unload_module(). So, this
would make Asterisk crash on the first device state change after you
unload the module.
Modified:
branches/1.4/apps/app_queue.c
Modified: branches/1.4/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_queue.c?view=diff&rev=64868&r1=64867&r2=64868
==============================================================================
--- branches/1.4/apps/app_queue.c (original)
+++ branches/1.4/apps/app_queue.c Thu May 17 21:48:51 2007
@@ -4469,6 +4469,7 @@
res |= ast_custom_function_unregister(&queuemembercount_function);
res |= ast_custom_function_unregister(&queuememberlist_function);
res |= ast_custom_function_unregister(&queuewaitingcount_function);
+ ast_devstate_del(statechange_queue, NULL);
ast_module_user_hangup_all();
More information about the asterisk-commits
mailing list