[Freeswitch-svn] [commit] r12851 - freeswitch/trunk/src

FreeSWITCH SVN anthm at freeswitch.org
Tue Mar 31 09:10:20 PDT 2009


Author: anthm
Date: Tue Mar 31 11:10:20 2009
New Revision: 12851

Log:
shutdown the queue when destroying the event consumer obj in c++

Modified:
   freeswitch/trunk/src/switch_cpp.cpp

Modified: freeswitch/trunk/src/switch_cpp.cpp
==============================================================================
--- freeswitch/trunk/src/switch_cpp.cpp	(original)
+++ freeswitch/trunk/src/switch_cpp.cpp	Tue Mar 31 11:10:20 2009
@@ -97,6 +97,10 @@
 		switch_event_unbind(&node);
 	}
 
+	if (events) {
+		switch_queue_interrupt_all(events);
+	}
+
 	switch_core_destroy_memory_pool(&pool);
 }
 



More information about the Freeswitch-svn mailing list