[asterisk-commits] russell: trunk r64869 - in /trunk: ./
apps/app_queue.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu May 17 19:51:08 MST 2007
Author: russell
Date: Thu May 17 21:51:07 2007
New Revision: 64869
URL: http://svn.digium.com/view/asterisk?view=rev&rev=64869
Log:
Merged revisions 64868 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r64868 | russell | 2007-05-17 21:48:51 -0500 (Thu, 17 May 2007) | 5 lines
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:
trunk/ (props changed)
trunk/apps/app_queue.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?view=diff&rev=64869&r1=64868&r2=64869
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Thu May 17 21:51:07 2007
@@ -4705,6 +4705,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