[asterisk-commits] mmichelson: branch group/CCSS r217874 - /team/group/CCSS/main/ccss.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Sep 10 17:13:47 CDT 2009


Author: mmichelson
Date: Thu Sep 10 17:13:44 2009
New Revision: 217874

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=217874
Log:
Add sched thread deletion to agent destructor.


Modified:
    team/group/CCSS/main/ccss.c

Modified: team/group/CCSS/main/ccss.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/CCSS/main/ccss.c?view=diff&rev=217874&r1=217873&r2=217874
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Thu Sep 10 17:13:44 2009
@@ -817,6 +817,8 @@
 	if (agent_pvt->sub) {
 		agent_pvt->sub = ast_event_unsubscribe(agent_pvt->sub);
 	}
+
+	ast_sched_thread_del(cc_sched_thread, agent_pvt->offer_timer_id);
 
 	ao2_ref(agent->interface_tree, -1);
 




More information about the asterisk-commits mailing list